LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   regexps (https://www.linuxquestions.org/questions/linux-newbie-8/regexps-844953/)

Al Effendi 11-17-2010 08:13 PM

regexps
 
hi

thanks in advance
... count all the occurrences of 'Eric' and 'Eirik' in a string. Two valid regexps to match these are \b(Eric|Eirik)\b ...

I understand word boundary b and | BUT not &#92 and why in front and end

appreciate help

Al

Matir 11-17-2010 08:20 PM

\ is the HTML entity for a \. Looks like it was text badly converted to/from HTML.


All times are GMT -5. The time now is 12:53 PM.