The UNIX and Linux Forums
Forum Home
Linux and Unix Man Pages
Search Forums
Search Community Posts
Today's Posts
Quick Links
Man Pages
RedHat Commands
OpenSolaris Commands
Linux Commands
SunOS Commands
FreeBSD Commands
All UNIX Man Pages
All Linux Man Pages
Full Man Repository
Login or Register to Ask a Question and Join Our Community
Search Forums
Show Threads .
Show Posts
Tag Search
Advanced Search
Quick Links
Contact Us
Forum Rules
Today's Posts
FAQ
Pictures & Albums
All Albums
Miscellaneous
What is My IP
Whois
Mark Forums Read
Sponsored Content
Full Discussion:
Regexp_instr
Top Forums
Programming
Regexp_instr
Post 302256988 by otheus on Tuesday 11th of November 2008 04:08:00 AM
11-11-2008
otheus
Registered User
I don't see how it's the A{0,1} causing the problem. A? is equivalent to A{0,1}. Can you provide us a sample input?
PS: I tried this with grep -E on Linux and it worked fine on the following strings:
Code
:
AskjYj|AaaA023923-232 Akjsd402 As9 Ax.44-42
Last edited by otheus; 11-11-2008 at
05:15 AM
..
otheus
View Public Profile for otheus
Find all posts by otheus
Member Badges and Information Modal
×