Skip to content

Allow full glob filtering in the include #10

Description

@jobelobes

Currently the matching regular expression does not allow any inner parenthesis. By changing line 19 from return contents.match(/<!--\s+include:([a-z]+)\(([^)]+)\)\s+-->/); to 'return contents.match(//);' users can now add full glob filters.

Ex.
Currently this include will fail and be passed over because it has inner parenthesis.
<!-- include:js(app/*/**/+(*.module|module).js) -->

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions