Edgewall Software
Modify

Ticket #138 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

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

comment:1 Changed 3 years ago by Amir

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

comment:2 Changed 3 years ago by aronacher

  • Status changed from new to closed
  • Resolution set to fixed

Thanks for reporting. The bug is now fixed in [444].

comment:3 Changed 3 years ago by Amir

Thanks a lot for this super fix. Seems to work :)

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.