Re: FW: [Phplib-users] OOHForms and RegEx
Brought to you by:
nhruby,
richardarcher
From: Peter T. <pte...@te...> - 2002-10-14 14:44:04
|
I made a comment on this in the online manual http://www.sanisoft.com/phplib/manual/ The client uses the Javascript regex engine and the server uses the PHP engine. They evaluate differently. You can avoid problems by switching off the client verification. (the rexexp gets verified by the server anyway). Regards, Peter At 16:49 14-10-2002, Andres Barreto Zicare wrote: >Thanks Andrew... You are right. It works now... But I still have a couple of >questions. > >why do the original regexs ( example: "^[a-Z]*$" ) work as I expected in >the intranet server but fail in the internet host? it seems like regex has a >different behavior in the intranet server setup and in the internet host >setup... >is it any special recommendation or paper on regex use in OOHforms? > >Thanks again >Andres > >-----Original Message----- >From: Andrew Hull [mailto:ah...@ni...] >Sent: Viernes, 11 de Octubre de 2002 10:45 a.m. >To: Andres Barreto Zicare >Subject: Re: [Phplib-users] OOHForms and RegEx > > >Andres Barreto Zicare wrote: > >- snip - > > >But if I change > > "valid_regex"=>"^[a-z]*$" > >for > > "valid_regex"=>"^[a-Z]*$" > > > > >this _is_ invalid since lowercase comes after uppercase. in any event, i >think u mean [a-zA-Z] > >- snip - > >a.g.h > > > > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Phplib-users mailing list >Php...@li... >https://lists.sourceforge.net/lists/listinfo/phplib-users |