RE: [PHP] preg_match problem/question

2003-04-04 Thread John W. Holmes
> I am getting an error on the following line: > > if(preg_match('s/l$//', $string)) > > The error is: > > Warning: Delimiter must not be alphanumeric or backslash in > /u1/jab/devel/whitespace/whitespace.php on line 136. > > I know that pcre in PHP is not exactly interchangeable. Any ideas o

[PHP] preg_match problem/question

2003-04-04 Thread Jason Borgmann
I am getting an error on the following line: if(preg_match('s/l$//', $string)) The error is: Warning: Delimiter must not be alphanumeric or backslash in /u1/jab/devel/whitespace/whitespace.php on line 136. I know that pcre in PHP is not exactly interchangeable. Any ideas on how to get this to