Closed Bug 294145 Opened 20 years ago Closed 20 years ago

regex doesn't run correctly with the expression " [^/] " in javascript

Categories

(Core :: JavaScript Engine, defect)

1.0 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 173067

People

(Reporter: aero_climb, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 In the regex syntaxe, the characters wich are between [ and ] are supposed to be themselves. But with the syntaxe [^/] it doesn't work because I must add a "\". I think it's a bug. You can view it in the url's demonstration. Reproducible: Always Actual Results: The javascript doesn't work Expected Results: The software would run the javascript correctly
Assignee: nobody → general
Component: General → JavaScript Engine
Product: Firefox → Core
QA Contact: general → general
Version: unspecified → 1.0 Branch
*** This bug has been marked as a duplicate of 173067 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.