LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: 0
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
 
Old 11-17-2010, 09:20 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

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


Reply


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 12:14 PM
Matching filenames with regexps in C# daYz Programming 1 10-16-2007 12:27 PM
Tab stops in emacs regexps King of Men Linux - Software 0 11-07-2005 12:39 PM
conditional replacment with regexps? MadCactus Linux - General 2 10-01-2004 10:19 AM


All times are GMT -5. The time now is 08:42 AM.

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