Robert Krimen
1b39f1b6cc
Calculate endIndex from last place of match, not last place of last submatch
2012-11-09 15:36:08 -08:00
Robert Krimen
845172c82c
endIndex needs to be an offset from lastIndex
2012-11-07 15:46:21 -08:00
Robert Krimen
6f5ca7cc0d
Beef up _property, remove _defineProperty
...
Remove uneeded _valueProperty
Rename to propertyMode_{write,enumerate,configure}
.Can* => writeable, enumerable, configureable
Privatize _property
Get rid of _defineProperty
2012-10-27 08:59:38 -07:00
Robert Krimen
3c93384f5c
Cleanup of stash, property, and object
...
Use octal to designate write/enumerate/configure (experimental)
Move extensibility responsibility into the stash
Rename propertyStash => objectStash (be congruent with arrayStash, etc.)
Get rid of a bunch of useless methods
Privatize everything ([A-Z] => [a-z_])
gofmt
2012-10-26 15:47:19 -07:00
Robert Krimen
68943ba1e4
More (complex) RegExp => RE2 transforming and tests
...
The unescaping of that which does not need escaping
2012-10-20 23:32:30 -07:00
Robert Krimen
3a6dcf46ef
Don't expose re2 regular expression via //.source
2012-10-20 12:55:29 -07:00
Robert Krimen
a12391834e
Sometimes RegExp captures can fail, detect this
...
Fix #2 (In .exec so far)
2012-10-14 21:45:38 -07:00
Robert Krimen
7dfbf6ab13
Better regular expression syntax checking
...
And a limitation elaboration
2012-10-12 18:55:41 -07:00
Robert Krimen
4a8c7ffc00
Initial commit
2012-10-05 18:47:53 -07:00