openoffice-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Issue 125008] Calc : unable to use regex '\.' , have to use '[.]' in a javascript macro
Date Fri, 06 Jun 2014 07:55:38 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=125008

Pierre Forestier <pierre.forestier@laposte.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |NOT_AN_ISSUE

--- Comment #2 from Pierre Forestier <pierre.forestier@laposte.net> ---
Sorry this is not a bug.

In PHP there is a difference between simple and double quotes, not in
javascript.

In javascript you have to use \\. in both cases, I think it is better to use
the /pattern/flags notation instead of RegExp("pattern", "flags").

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

Mime
View raw message