Steven Levithan slevithan

@slevithan
get range of matching group in the string
slevithan commented on issue slevithan/xregexp#100
@slevithan

Positions for the overall match are easy: var result = /x/.exec(str); // assuming a match was found... result.index; // start pos result.index + re…

slevithan commented on issue slevithan/xregexp#70
@slevithan

Tests for the new <regex>.xregexp.source and <regex>.xregexp.flags properties were added in commits de197f8 and 75c7b2e.

@slevithan
  • @slevithan baef6b6
    Remove explicit testing for lack of support for 'all' shortcut
  • @slevithan 75c7b2e
    More tests for precompilation source and flags props
  • 1 more commit »
@slevithan
@slevithan
slevithan edited the slevithan/xregexp wiki
slevithan commented on issue slevithan/xregexp#70
@slevithan

I don’t expect to add XRegExp.prototype.toString in the base library, for a few reasons: This might be an edge case, but it would cause backcompat…

@slevithan
@slevithan
better toString()
slevithan commented on pull request slevithan/xregexp#99
@slevithan

See responses on #96. I think this might be too narrow in its handling.

slevithan commented on issue slevithan/xregexp#96
@slevithan

I might look at this and create a PR. But all your changes requirements wont work. Especially handling 'a{b{c}d'. This one wont report results and…

slevithan commented on issue slevithan/xregexp#80
@slevithan

XRegExp already supports RequireJS, CommonJS, and Node.js module systems, and provides a global variable for direct use in

@slevithan
Support ES6 /u flag when supported natively
@slevithan
Update Unicode data to v8.0
slevithan commented on issue slevithan/xregexp#46
@slevithan

@jaquet9, sorry for the long delay. Is it possible to verify whether this is still occurring with the latest versions of XRegExp 3.0.0-pre and Rhin…

slevithan commented on issue slevithan/xregexp#68
@slevithan

Running in Firefox 40.0.2 and Chrome 44, I get false and true (not true for both). Can you clarify if you're still able to repro this, and explain …

slevithan commented on issue slevithan/xregexp#92
@slevithan

I'm not opposed to it, but not sure I understand the benefit. It seems both minified and non-minified copies of XRegExp are already on CDNJS.

@slevithan
It is possible just select for example (Dr Rodriguez) from outside <strong> tags... Question
@slevithan
V2.0.0 Minified missing closing semi-colon
slevithan edited the slevithan/xregexp wiki
slevithan commented on issue slevithan/xregexp#96
@slevithan

Yes, I'd be totally willing to include an option that allows XRegExp.matchRecursive to skip past unbalanced delimiters. In fact, I'd prefer to make…

@slevithan
Splitting advise
@slevithan
Unicode searching
slevithan commented on issue slevithan/xregexp#95
@slevithan

Sorry, XRegExp isn't able to help with that. Not only does the base library not have anything built in for that, but XRegExp's Unicode data also do…

slevithan commented on issue slevithan/xregexp#95
@slevithan

Can you give a more specific example of the code for the search you are attempting?

slevithan edited the slevithan/xregexp wiki