Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-17-2010, 08:13 PM   #1
Al Effendi
LQ Newbie
Registered: Dec 2003
Posts: 8

Rep: Reputation: 0


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

Old 11-17-2010, 08:20 PM   #2
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I use regexps in linux (sed awk?) bioinformatics_guy Linux - Newbie 7 09-24-2008 11:14 AM
Matching filenames with regexps in C# daYz Programming 1 10-16-2007 11:27 AM
Tab stops in emacs regexps King of Men Linux - Software 0 11-07-2005 11:39 AM
conditional replacment with regexps? MadCactus Linux - General 2 10-01-2004 09:19 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:54 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration