| |
didorno
Posts: 361
Score: 0
Joined: 2/12/2005
From:
Status: offline
|
MBouchard wrote quote:
Wouldn't it be better to use OR instead of AND? I hate this somethings, OR and AND that is, but to me it seems that OR would be better suited here. Because if the file name is save.doc it would not be bla.pen so it would not be true and the deletion would happen. I think you made a mistake. Both sides of the AND must be true to get an expression which is true. Sometimes it helps if you remind that holds : Not(X) And Not(Y) = Not(X Or Y) Good luck !
_____________________________
Regular Expression ? I (L+o{1,}v{1,3}e\s)+[iI]t!$
|
|