Closed Bug 813497 Opened 12 years ago Closed 12 years ago

regular express global signature bug

Categories

(Core :: JavaScript Engine, defect)

10 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: johnnychq, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.52 Safari/536.5

Steps to reproduce:

Browser:Firfox ESR 10.0.10

Excute Follower Regexp:
setInterval(function(){
    console.log(/^\d+(\.[\d]{1,2})?$/g.test('4455'));
},100);




Actual results:

After few seconds, it will output `false`, which should always be true!


Expected results:

omit `g`, then it will get the right output
Can you please retest with Firefox16 or later ?
Firefox10ESR will only get security fixes.

>Excute Follower Regexp
Your STR are incomplete. How do you execute this Regexp ?
Firefox16 or later is OK~
Firfox ESR 10.0.10's Regexp Engine is different, i suppose.

(In reply to Matthias Versen (Matti) from comment #1)
> Can you please retest with Firefox16 or later ?
> Firefox10ESR will only get security fixes.
> 
> >Excute Follower Regexp
> Your STR are incomplete. How do you execute this Regexp ?
Firefox17ESR is out and Firefox10ESR will be EOL in a few weeks.
I don't think that this will be fixed for 10ESR.

Thank you anyway for the bug report.
Assignee: nobody → general
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Component: Untriaged → JavaScript Engine
Product: Firefox → Core
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.