tracker issue : CF-3043269

select a category, or use search below
(searches all categories and all time range)
Title:

Bug 86138:I proposed a new function to the OpenBD folks on their tracker a while back to help in the RegEx area of the language

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Peter Farrell / Peter Farrell (MaestroFJP)

Created: 02/02/2011

Components: Language, Functions

Versions: 10.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 / 280072

Priority/Frequency: Trivial / Most users will encounter

Locale/System: English / Platforms All

Vote Count: 1

Problem:

I proposed a new function to the OpenBD folks on their tracker a while back to help in the RegEx area of the language.  The function REEscape(string) takes a string and escapes any RegEx control characters (like * . - braces, etc.) so the string is safe for use in a RegEx pattern as string literal.  This function was recently added to the OpenBD 1.5 BER.  The reason why I proposed this function is that similar functions are available in Ruby, PHP, .Net and Python.  We're definitely missing out on this.The current version in OpenBD escapes the following characters:$, {, }, (, ), <, >, [, ], ^, ., *, +, ?, #, :, &, and \This issue has been file as RAILO-1168 as well.
Method:


Result:

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3043269

External Customer Info:
External Company:  
External Customer Name: Peter Farrell
External Customer Email: 49ED14CD43A7342099201674
External Test Config: 02/02/2011

Attachments:

Comments:

This bug has been voted..
Vote by External U.
21206 | November 11, 2011 07:37:12 AM GMT