tracker issue : CF-3221654

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

Escape Sequence "\x" is not functioning

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/UserError

Reporter/Name(from Bugbase): Shigeo Kubota / Shigeo Kubota (CF-AXL)

Created: 06/22/2012

Components: Language

Versions: 10.0

Failure Type: Non Functioning

Found In Build/Fixed In Build: Final /

Priority/Frequency: Trivial / Unknown

Locale/System: English / Windows 7 SP1 64-bit

Vote Count: 0

Problem Description: Escape Sequence "\x" is not functioning.

Steps to Reproduce: <cfoutput>#reFind("\x", " a")#</cfoutput>

Actual Result: 0

Expected Result: 2

Any Workarounds: Use character class ":xdigit:" or [A-Za-z0-9].
For example, <cfoutput>#reFind("[[:xdigit:]]", " a")#</cfoutput> or <cfoutput>#reFind("[A-Za-z0-9]", " a")#</cfoutput>

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

Watson Bug ID:	3221654

External Customer Info:
External Company:  
External Customer Name: CF-AXL
External Customer Email:  
External Test Config: My Hardware and Environment details:

Attachments:

Comments:

Where I said [A-Za-z0-9] should be [A-Fa-f0-9].
Comment by External U.
18947 | June 22, 2012 10:48:52 AM GMT
Never mid. It was my mistake. I should have used like this. <cfoutput>#reFind("\x61", " a")#</cfoutput> and get the result 2.
Comment by External U.
18948 | June 22, 2012 08:22:37 PM GMT