captbaritone / captbaritone/datejs
strange regex problem?
- Dominant language
- JavaScript
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
```
What steps will reproduce the problem?
Im try to modify date.js to change keyword "now" and add "teraz" (mean now
in Polish) so I made a change:
now:/^n(ow)?|teraz/i
and tested like this:
Date.parse("now") OK
Date.parse("teraz") FAIL
...and ended with null :(
but when change to:
now:/^n(ow)?|xeraz/i
Date.parse("xeraz") OK
I have tested also:
now:/^teraz/i
Date.parse("teraz") FAIL
so the "t" char on the beginning is a problem, but why "today" works?
What version of the product are you using? On what operating system?
current date.js, IE and FF on XP
Please provide any additional information below.
```
Original issue reported on code.google.com by `Ksiezykm...@gmail.com` on 4 Feb 2009 at 2:25
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.