Skip to content

shell.js grep: internal error, Invalid regular expression #447

@noteon

Description

@noteon

Node version: 6.1.0

ShellJS version (the most recent version/Github branch you see the bug on): 0.7.0

Operating system: Mac OS

Description of the bug:

shell.js: internal error
SyntaxError: Invalid regular expression: /*.js/: Nothing to repeat

Example ShellJS command to reproduce the error:

shelljs.ls().grep("*.js")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions