On 21-Nov-2006, at 04:25, Ford, Mike wrote:
So the syntactically-correct simple version of this is '/[A_Z0-9
\'.&_-]/i'.
Seems to ME that '/[:alnum:\'.&_-]/i' is more readable, and '/[\w
\'.&-]/i' is just all around better
And there's an error in what you posted anyway, A-Z, not A_Z
However, I think Paul's post does exactly what the OP wanted:
On 16-Nov-2006, at 15:26, Paul Novitski wrote:
/\[([^\]|]+)\|([^\]]+)\]/
--
Do you believe that there's someone up above, and does he have a
timetable directing acts of love?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php