I'm trying to match "l\'affiche" with
<code>
preg_match ("/l\'/i", "$word);
</code>
and it doesn't work.
Funny thing is that
<code>
preg_match ("/\'/i", "$word);
</code>
does work in identifying the \'. I thought it was gonna just be a walk in the park to add the "l" in front to find "l\'", but it doesn't seem to be working. Anyone have any clues on this one.
thanks,
Chris