Closed
Bug 445815
Opened 16 years ago
Closed 6 years ago
ActionScript 3 RegExp bug with look behind behavior
Categories
(Tamarin Graveyard :: Virtual Machine, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
Future
People
(Reporter: cpeyer, Unassigned)
References
Details
Steps to reproduce: 1. Create new regexp expression: var testExpr:RegExp = /(?<=/\*(?:[^*]|\*[^*/])*)(@\w*)/gm 2. Make a test string which looks like this: /** * Blah * * @author1 blahBlah */ * @author2 blahBlah 3. run code testExpr.exec(testString); Actual Results: Look behind expression works alright if used alone but doesnt seem to function in case if it's used as look behind. Expected Results: Expression should select all @\w documentation comment tags which are located inside unclosed block comments. In above example if should select @author1 and leave ignored @author2. Also that is exactly what happens in other regexp environments that support variable length positive look behind blocks I've tested that expression in. Workaround (if any):
Reporter | ||
Comment 1•16 years ago
|
||
Transferred from: https://bugs.adobe.com/jira/browse/ASC-3399
Reporter | ||
Updated•16 years ago
|
Flags: in-testsuite?
Flags: flashplayer-triage+
Flags: flashplayer-qrb?
Updated•15 years ago
|
Assignee: nobody → tierney
Status: NEW → ASSIGNED
Flags: flashplayer-qrb? → flashplayer-qrb+
Target Milestone: --- → flash10.x
Updated•15 years ago
|
Blocks: AS3_Builtins
Updated•15 years ago
|
Assignee: tierney → tharwood
Priority: -- → P4
Comment 2•15 years ago
|
||
Any fix for this would likely have to be version-checked for backwards compatibility.
Updated•15 years ago
|
Flags: flashplayer-needsversioning+
Assignee: tharwood → nobody
Severity: major → normal
Flags: flashplayer-injection-
Flags: flashplayer-bug+
Priority: P4 → --
Target Milestone: Q3 11 - Serrano → Future
Blocks: regex-upgrade
Comment 4•6 years ago
|
||
No assignee, updating the status.
Updated•6 years ago
|
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•