For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > June 2005 > finding the right non printing non word character









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author finding the right non printing non word character
Angie Ahl

2005-06-08, 8:56 pm

Hi guys

I'm trying to find a character for use in a regex pattern that is non
printing and non word.

I've been using \0 and \xFF as a means of marking up and splitting a
string but have just found out that the regex engine thinks that they
are word characters, as in being matched by \w

I need a character that people won't type, that isn't a word character.

Any ideas.

TIA

Angie
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com