• Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » non-alphanumeric characters that aren't special RegExp characters

#1 2008-09-04 18:00:02

strpdsnk
Member
Registered: 2008-03-25
Posts: 328

non-alphanumeric characters that aren't special RegExp characters

Can someone please verify for me that I have these characters grouped appropriately, and let me know about the "Unknown" characters (if they are ordinary/allowable or metacharacters/not ordinary/special), please?

I'm trying to figure out what characters we should NOT use (in strings that Talend will be using/calling/whatever) - just to avoid headaches.

Thanks!



Ordinary/Allowable Characters
*Characters that "match themselves" in Regular Expressions
**"Characters other than . $ ^ { [ ( | ) ] } * + ? \ match themselves."  (http://regexlib.com/CheatSheet.aspx)

Metacharacters/Not Ordinary/Special Characters
*These will NOT match themselves
**Unless prefaced by a \
**Except for the backslash (\) character, which must be prefaced by \\\ to come out as a single backslash.  (http://www.amk.ca/python/howto/regex/re … 0000000000)

Unknown
*I don't know which of the two categories, above, the following characters fall into

Character  (Name)
.  (Period, Full stop)
’  (Single quote, Apostrophe)
"  (Double quote)

Sources of the above information:
http://www.regular-expressions.info/reference.html
http://regexlib.com/CheatSheet.aspx
http://www.amk.ca/python/howto/regex/regex.html
http://www.fileformat.info/tool/regex.htm

Offline

#2 2008-09-22 21:11:53

strpdsnk
Member
Registered: 2008-03-25
Posts: 328

Re: non-alphanumeric characters that aren't special RegExp characters

strpdsnk wrote:

Can someone please verify for me that I have these characters grouped appropriately, and let me know about the "Unknown" characters (if they are ordinary/allowable or metacharacters/not ordinary/special), please?

I'm trying to figure out what characters we should NOT use (in strings that Talend will be using/calling/whatever) - just to avoid headaches.

Thanks!

pleaseeeee?

Offline

#3 2008-09-22 21:33:27

Volker Brehm
Member
Registered: 2007-04-03
Posts: 1139
Website

Re: non-alphanumeric characters that aren't special RegExp characters

Hi,

your groups are correct.

For the last three signs: "." (Period, Full stop) => special  (matches any character but also will match itself)
The other two do not have any special function in regex.

Bye
Volker

Offline

#4 2008-09-22 21:42:54

strpdsnk
Member
Registered: 2008-03-25
Posts: 328

Re: non-alphanumeric characters that aren't special RegExp characters

ok, cool - just wanted to make sure cause I saw conflicting information about those three characters (between "regular" regular expressions and then java regular expressions)

Offline

  • Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » non-alphanumeric characters that aren't special RegExp characters

Board footer

Powered by FluxBB