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

fails for commas in regex (and such things) #3

Open
tunnckoCore opened this issue Sep 14, 2016 · 2 comments
Open

fails for commas in regex (and such things) #3

tunnckoCore opened this issue Sep 14, 2016 · 2 comments

Comments

@tunnckoCore
Copy link

for example

var expandObject = require('expand-object')
var res = expandObject('a.b.c:/^so,b/gmi')

console.log(res.a)
// => { b: { c: [ '/^so', 'b/gmi' ] } }

it make sense to work for regexes at least?

pro tip: ;d snapdragon again.

We all are busy, but it cost nothing to have it as issue for remainder or for someone that wanna try snapdragon and come with PR.

@jonschlinkert
Copy link
Owner

jonschlinkert commented Sep 14, 2016

I think support for regex was removed. But we can revisit if/when a better parser is implemented.

edit: I guess the readme needs to be updated too

@tunnckoCore
Copy link
Author

I think support for regex was removed.

it's possible, i didn't review the code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants