nouse66
09-28-2004, 10:16 PM
i vaugely remember seeing a php function a long time ago that was somewhere inbetween ereg_match()/preg_match() and strpos() and i cant find it anymore. it was used for matching strings but had sql like wildcard capabilities (% matches 0 or more characters).
can anone confirm that there is or is not such a function?
i have a huge script that works currently with strpos() and would be a pain to convert to full regex matching so i'm that i'm remembering correctly.
maybe i'm losing it and this was a completely different language...
thanks,
aaron
can anone confirm that there is or is not such a function?
i have a huge script that works currently with strpos() and would be a pain to convert to full regex matching so i'm that i'm remembering correctly.
maybe i'm losing it and this was a completely different language...
thanks,
aaron