Maybe you should use
/\b/
word boundary
instead of all the or's
Joshua Moore-Oliva wrote:
I'm kind of confused right now... when I call preg_replace_callback with a
regular expression with brackets, sometimes I get an array back with multiple
elements like
array(3) {
[0]=>
string(19)
I'm kind of confused right now... when I call preg_replace_callback with a
regular expression with brackets, sometimes I get an array back with multiple
elements like
array(3) {
[0]=>
string(19) "http://www.aol.com
"
[1]=>
string(0) ""
[2]=>
string(19) "http://www.aol.com
"
}
and I
2 matches
Mail list logo