[nycphp-talk] Regular Expressions & Foreign Characters
Carlos G. Chiossone
carlos at sprout.net
Wed Sep 17 11:23:51 EDT 2003
Hi all, PHPEdit has a new Regular Expression editor that seems to be pretty good. This may be of help on all of this.
http://www.phpedit.net/products/RegExpEditor/
Carlos
-----Original Message-----
From: jon baer [mailto:jonbaer at jonbaer.net]
Sent: Wednesday, September 17, 2003 10:06 AM
To: NYPHP Talk
Subject: Re: [nycphp-talk] Regular Expressions & Foreign Characters
from what i recall you need to play around with multibyte/unicode functions
+ it needs to be compiled in (--enable-mbstring=all):
http://us3.php.net/manual/en/ref.mbstring.php
http://us3.php.net/manual/en/function.mb-ereg.php
- jon
----- Original Message -----
From: "Jeff" <jsiegel1 at optonline.net>
To: "'NYPHP Talk'" <talk at lists.nyphp.org>
Sent: Wednesday, September 17, 2003 10:58 AM
Subject: [nycphp-talk] Regular Expressions & Foreign Characters
If I understand correctly, a regular expression like this: ^[a-z0-9\',.
-]{1,35}$/I will not allow foreign characters, e.g., Ë, because it is
not part of the regular ASCII set of characters but part of the extended
set. So...what's a kid to do?
Jeff Siegel
_______________________________________________
talk mailing list
talk at lists.nyphp.org
http://lists.nyphp.org/mailman/listinfo/talk
_______________________________________________
talk mailing list
talk at lists.nyphp.org
http://lists.nyphp.org/mailman/listinfo/talk
More information about the talk
mailing list