Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add more extensive named path matching #16

Open
richrdkng opened this issue Mar 31, 2020 · 0 comments
Open

feat: add more extensive named path matching #16

richrdkng opened this issue Mar 31, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@richrdkng
Copy link
Contributor

Instead of the possibility to only match letters, numbers, underscores, and dashes, e.g: (a-zA-Z0-9_-), add the feature for named paths to be able to contain the character /, e.g.:

// JSON config file
{
  // with @ prefix
  "@dist/umd": "./temp/dist/umd"

  // without @ prefix
  "dist/umd": "./temp/dist/umd"
}
const path = require('@nodewell/path')

// with @ prefix
path('@dist/umd')

// without @ prefix
path('dist/umd')
@richrdkng richrdkng added the enhancement New feature or request label Mar 31, 2020
@richrdkng richrdkng added this to the 3.0.0 milestone Mar 31, 2020
@richrdkng richrdkng self-assigned this Mar 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant