Re: ereg / regexp fun

From: Date: Wed, 16 Aug 2000 16:24:14 +0000
Subject: Re: ereg / regexp fun
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-12069@lists.php.net to get a copy of this message
>> [^ ] matches a space at the beginning. [ $] matches a space at No it doesn't: "[^ ]" matches 'not a space', "^ " matches a space at the beginning. "[ $]" matches 'space or $', " $" matches 'space at end'. The [^] is a negative character class. Hans Anderson ~ me@hansanderson.com PO Box 426, Missoula, MT 59806 | PHP, Search Engines, SQL (800)397-9116 / (406)549-6524 | Databases, Flash Multimedia, http://www.hansanderson.com | Killer Audio Production, http://www.goofiness.com | Minty Fresh Breath.

« previous php.general (#12069) next »