Modify ↓
Ticket #138 (closed defect: fixed)
Bug in parsing JavaScript regular expressions
| Reported by: | amix3k@… | Owned by: | cmlenz |
|---|---|---|---|
| Priority: | critical | Milestone: | 1.0 |
| Component: | General | Version: | 0.9.3 |
| Keywords: | Cc: |
Description
I want to report what looks like a bug in JavaScript? parsing.
The bug seems to be releated to JavaScript?'s regular expression syntactic sugar.
I run following command:
pybabel extract -sc: -Fmessages.ini . > messages.pot (messages.ini holds [javascript: js/**.js])
For following file: http://paste.pocoo.org/show/82382/
Aloha is parsed for the new RegExp?(...) case and not the /.../ case.
Babel version used is 1.0dev-r443 (I have also tried with a stable version).
Kind regards Amir
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

Could somebody point me where to look in order to debug / fix this bug. It's kind of a little show stopper, since we use a lot of JavaScript? and RegExp?.
Kind regards, Amir