Robert Krimen
|
81de6c8f02
|
Fix writable/enumerable/configurable of *.prototype to be false
Number, String, Array, RegExp, Error, etc.
|
2013-06-15 17:38:16 -07:00 |
|
Robert Krimen
|
98a80a628d
|
Add RegExp.compile
This (useless) function is deprecated, but is here to provide some
semblance of compatibility.
Caveat emptor: it may not be around for long.
|
2013-06-15 17:17:58 -07:00 |
|
Robert Krimen
|
7e2b4f2063
|
Rewrite of property handling to be more robust and compliant
* No more _stash
* Now using a "virtual table" system via _objectClass
* Make Array.concat GoArray compatible (via .isArray())
Fix #16
|
2013-05-12 14:14:51 -07:00 |
|
Robert Krimen
|
fb974ca5db
|
Do not throw a TypeError when trying to set global, ignoreCase, source, etc.
|
2013-05-02 20:23:07 +02:00 |
|
Robert Krimen
|
596af0a836
|
Fix RegExp.prototype.toString .length & .prototype
|
2013-05-02 20:23:07 +02:00 |
|
Robert Krimen
|
bc84827b09
|
Fix RegExp.prototype.test .length & .prototype
|
2013-05-02 20:23:07 +02:00 |
|
Robert Krimen
|
fc569ab73a
|
Fix RegExp.prototype.exec .length & .prototype
|
2013-05-02 20:23:07 +02:00 |
|
Robert Krimen
|
36a7419812
|
After a successful global RegExp.exec match, index shift the result
|
2013-05-02 20:23:07 +02:00 |
|
Robert Krimen
|
78ab288e0a
|
Another RegExp test
|
2013-05-02 20:23:07 +02:00 |
|
Robert Krimen
|
b078bacaf7
|
Set the prototype of Math to the global object prototype
|
2013-05-02 20:23:07 +02:00 |
|
Robert Krimen
|
b4a6286aa7
|
Use RegExp._RegExp.Flags when doing new RegExp(RegExp)
|
2013-05-02 20:23:07 +02:00 |
|
Robert Krimen
|
5c5dfbf501
|
Use RegExp.source (not RegExp.toString) when doing new RegExp(RegExp)
|
2013-05-02 20:23:06 +02:00 |
|
Robert Krimen
|
74a8739188
|
Cannot supply flags when constructing one RegExp from another
|
2013-05-02 20:23:06 +02:00 |
|
Robert Krimen
|
de97589c43
|
RegExp(/xyzzy/) & RegExp(/xyzzy/, undefined) will return a reference to the exact same /xyzzy/ object...
...instead of creating a new copy
|
2013-05-02 20:23:06 +02:00 |
|
Robert Krimen
|
1628647e05
|
For RegExp.exec, return the rune index in the string, not the byte index
|
2013-05-02 20:23:06 +02:00 |
|
Robert Krimen
|
70e8c14c94
|
Fix broken multiline RegExp behavior
Was actually not being passed through, oops...
|
2013-05-02 20:23:06 +02:00 |
|
Robert Krimen
|
c8c3533f67
|
Make note of different RegExp behavior
|
2013-05-02 20:23:06 +02:00 |
|
Robert Krimen
|
0420accca6
|
Include .input, .index in the result of a successful RegExp.exec(...)
|
2013-05-02 20:23:06 +02:00 |
|
Robert Krimen
|
5f5cc09fbc
|
Fix broken RegExp syntax: \c
|
2013-05-02 20:23:06 +02:00 |
|
Robert Krimen
|
9184233705
|
Bundle terst dependency (github.com/robertkrimen/terst)
|
2013-04-15 10:20:34 -07:00 |
|
Robert Krimen
|
809a0a0ba6
|
Split tests out of one big massive file
|
2013-02-05 08:56:08 -08:00 |
|