Regex with dash/minus at the end of range returns error
-------------------------------------------------------

                 Key: CORE-4543
                 URL: http://tracker.firebirdsql.org/browse/CORE-4543
             Project: Firebird Core
          Issue Type: Bug
          Components: Engine
    Affects Versions: 2.5.3
         Environment: Windows 7, Windows 8, x32, x64, SS, CS
            Reporter: Jiri Cincura


If I do "similar to '[a-z\_-]' escape '\'" I got a error about invalid pattern. 
The "-" is causing problems. Surprisingly doing '[a-z-\_]' is fine and also 
'[a-z-]' is fine. 

Testing the first regex on various parsers it worked.
Checked Postgres and it works there.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to