On Thursday 08 February 2001 07:40, Michael Dearman wrote:
> > > And the | is using '\d' and 'prem'. It probably should be
> > > "/(div\d)|prem/ Unless those parens are part of the expression.
> > > Then
>
> And after a second look, yea the \d is tightly bound to the div.
> But in confirming this, besides matching something like
> 'div2' it will also match div23 - both returning div2.

Well, it matches on "div2", no matter what's around that. just like 
"prem" also matches on "appremoval"

> Don't know the data, so it might not make any difference.

Agreed 

-- 
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)

The use of COBOL cripples the mind; its teaching should, therefore,
be regarded as a criminal offence.

- Edsger W. Dijkstra

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to