Bug #12981 Updated: request: bare regexp and =~ operator

From: Date: Sun, 28 Apr 2002 23:48:13 +0000
Subject: Bug #12981 Updated: request: bare regexp and =~ operator
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-6379@lists.php.net to get a copy of this message
ID: 12981 Updated by: jimw@php.net Reported By: ryan@ryanflynn.com -Status: Open +Status: Closed Bug Type: Feature/Change Request Operating System: Win2k PHP Version: 4.0.6 New Comment: this isn't going to happen. Previous Comments: ------------------------------------------------------------------------ [2001-08-27 12:28:01] ryan@ryanflynn.com Hey guys. I love php, keep up the good work! Anyhow, I've been playing with other scripting languages as well as php to keep up my skills and I've come to realize how much a pain in the ass regexp is in php. having to use: preg_match_all("/\s+\d+.\d+/", "php version 4.0.6", $matches); instead of: "php version 4.0.6" =~ /\s\d+.\d+\/; is just a real pain. I think bare regexps and an =~ operator would really kick ass. I understand that the functions may be a simpler way for people to ease into regexps, but power users want the flexibility that languages like perl and ruby (among others) have. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=12981&edit=1

« previous php.bugs (#6379) next »