NYCPHP Meetup

NYPHP.org

[nycphp-talk] Regular Expressions & Foreign Characters

jon baer jonbaer at jonbaer.net
Wed Sep 17 11:12:38 EDT 2003


standalone ... there was a better web-based one somewhere ... i personally
find regex coach to be more flexible ...

http://www.weitz.de/regex-coach/

- jon

----- Original Message -----
From: "Jeff" <jsiegel1 at optonline.net>
To: "'NYPHP Talk'" <talk at lists.nyphp.org>
Sent: Wednesday, September 17, 2003 12:08 PM
Subject: RE: [nycphp-talk] Regular Expressions & Foreign Characters


Does this work as a "standalone" application or only with PHPEdit?

Jeff Siegel

-----Original Message-----
From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org]
On Behalf Of Carlos G. Chiossone
Sent: Wednesday, September 17, 2003 10:24 AM
To: NYPHP Talk
Subject: RE: [nycphp-talk] Regular Expressions & Foreign Characters


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
_______________________________________________
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