[thelist] Perl vs. Other tech

MarsHall maya at MARSorange.com
Wed Nov 13 07:54:01 CST 2002


On Tuesday, Nov 12, 2002, at 11:53 US/Central, Plunkett, Matt wrote:
> Like we had to trim a field of blank characters, and in Perl you have
> to regex it, in PHP you simply use the trim method.

PHP has *two* regex modules. Both are compiled into PHP by default:

	- preg_* (Perl Compatible RegEx, which I prefer)
		http://www.php.net/manual/en/ref.pcre.php

	- ereg_* (POSIX Extended RegEx)
		http://www.php.net/manual/en/ref.regex.php

Or do those not count for some reason?

Mars :)




More information about the thelist mailing list