Bug 21874 - JSC treats \a as special, whereas FF and IE do not
Summary: JSC treats \a as special, whereas FF and IE do not
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: http://next.atnext.com/template/next/...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-24 15:15 PDT by Anantha Keesara
Modified: 2011-06-14 18:43 PDT (History)
1 user (show)

See Also:


Attachments
reduction.zip (566 bytes, application/octet-stream)
2008-10-24 15:15 PDT, Anantha Keesara
no flags Details
reduction (775 bytes, text/html)
2008-10-25 02:55 PDT, Alexey Proskuryakov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anantha Keesara 2008-10-24 15:15:09 PDT
I Steps:
 Go to  http://next.atnext.com/template/next/front.cfm
 
 II Issue:
 In left nav bar , the image has a caption. In webkit, caption is not showing in Chinese. Instead $av_caption$ is seen.
 
 III Conclusion:
 The issue here is PCRE handles \a as a special character, but the regexp engine in FF and IE does not treat it as special.  
 FF just ignores the backslash if the character following it is not special.
 
 IV Other Browsers:
 IE7: ok
 FF3: ok
 
 V Nightly tested: 37819
Comment 1 Anantha Keesara 2008-10-24 15:15:11 PDT
Created attachment 24657 [details]
reduction.zip
Comment 2 Alexey Proskuryakov 2008-10-25 02:55:19 PDT
Created attachment 24676 [details]
reduction

Same test as a straight attachment.
Comment 3 Alexey Proskuryakov 2008-10-25 02:56:22 PDT
Confirmed with r37887.
Comment 4 Gavin Barraclough 2011-06-14 18:43:03 PDT
Works for me.  I'm guessing this was a bug in our use of PCRE, since replaced.