Rev 273 | Rev 275 | Go to most recent revision | Compare with Previous | Directory listing | View Log | RSS feed
* regexp.js
- Use jsx.object.getDataObject() instead of plain Object literals
- Use local aliases for more efficient access
- jsx.regexp.RegExp();
+ `this' is discarded anyway, so avoid it
+ Added .patternGroups (maps group index to pattern group)
+ Added .names (maps name to group index)
+ Added .flags (similar to Python)
+ Renamed .originalSource to .pattern (like Python),
fixed init position
+ Duplicate symbolic names throw SyntaxError
+ Unicode mode: Leading \b matches are properly trimmed
* regexp.php
- jsx.regexp.RegExp as global RegExp2, jsx.regexp.String as String2,
for easier testing (may be reverted)
- Added test case for Unicode mode flag| Path | Blame | Diff | Log |
|---|---|---|---|
| /trunk/regexp.js |
|
|
![]() |
| /trunk/test/regexp.php |
|
|
![]() |