Thread: regex problem
View Single Post
Old 05-30-2008, 11:02 PM   #3 (permalink)
Village Idiot
Wizard
Top Contributor 
 
Village Idiot's Avatar
 
Join Date: Sep 2007
Posts: 1,299
Thanks: 17
Village Idiot is on a distinguished road
Default

Thats for the advice, but thats not the issue. I do not know when there will be a breakline, I am searching over more than 50,000 files for what I believe will amount to 1,000 queries which where by a very inconsistent programmer.


In other words, it currently will match
Code:
SELECT `something` FROM `db` WHERE 1
But it will not match
Code:
SELECT `something` 
FROM `db'
WHERE 1
I need it to match both, no matter where the line break is
__________________

Village Idiot is offline  
Reply With Quote