[ale] Reg ex foo

Lightner, Jeff JLightner at water.com
Tue May 14 08:15:08 EDT 2013


So maybe it should be called irregex instead?

In (non-computer) languages such as French you have “regular” verbs that follow standard conjugation patterns (e.g. “ir”, “er” and “re” verbs).  Those that don’t follow that pattern (e.g. etre [to be]) are call “irregular”.

From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf Of Charles Shapiro
Sent: Tuesday, May 14, 2013 8:02 AM
To: Atlanta Linux Enthusiasts
Subject: Re: [ale] Reg ex foo

Oracle's regular expression dialect differs from PostgreSQL's. The Oracle 11g version lacks backslash digit specifiers. That means that in a PostgreSQL regular expression, "\x21" = "!", but not in Oracle's.

Java's interpretation of regular expressions differs from both databases. Perl offers you a choice of regular expression interpreters, all slightly different. Python does things in its own way too. Shell file grouping uses only a small subset of the regular expression vocabulary.  sed(1), vi(1), and ed(1) are all the same, but different from the other 6 cases.
Of course all this keeps us in business. Think of it, if regex were consistent then any fool could learn to code! ( heh).
-- CHS


On Mon, May 13, 2013 at 11:56 PM, Jim Kinney <jim.kinney at gmail.com<mailto:jim.kinney at gmail.com>> wrote:
no relation to oracle or regex. Just everyone hates oracle.
And yes. egrep is grep -E is gnu grep. In RHELland,  you do have to use grep -E to turn on extended regex so stuff like:
grep -E "foo|bar|ba[zs]{1,3}" will work. That will find foo or bar or bas, baz, bazz, bass, bazzz, basss
will work.

On Mon, May 13, 2013 at 9:07 PM, Scott Plante <splante at insightsys.com<mailto:splante at insightsys.com>> wrote:
Clearly I'm missing the joke. What does Oracle license fees have to do with extended grep? Is this something different from egrep/grep -E? Isn't egrep GNU? What'd I miss?
________________________________
From: "Jim Kinney" <jim.kinney at gmail.com<mailto:jim.kinney at gmail.com>>
To: "Atlanta Linux Enthusiasts" <ale at ale.org<mailto:ale at ale.org>>
Sent: Monday, May 13, 2013 4:21:31 PM
Subject: Re: [ale] Reg ex foo

I thought Oracle licensing was handshake that started simultaneously at _both_ ends of the digestive track with a meeting in the middle. That would explain that queasy feeling one gets just reading the thing.

On Mon, May 13, 2013 at 3:55 PM, Doug Hall <doughalldev at gmail.com<mailto:doughalldev at gmail.com>> wrote:
Ahh yes, extended grep.That's when ORACLE reaches down your throat in search of your testicles. Hey, Hawaiian islands cost a little!

On Mon, May 13, 2013 at 10:10 AM, Jim Kinney <jim.kinney at gmail.com<mailto:jim.kinney at gmail.com>> wrote:
I was thinking soul buy-back cost after using Oracle.

On Mon, May 13, 2013 at 10:56 AM, leam hall <leamhall at gmail.com<mailto:leamhall at gmail.com>> wrote:
Oracle license fees

On Mon, May 13, 2013 at 10:53 AM, Tim Watts <tim at cliftonfarm.org<mailto:tim at cliftonfarm.org>> wrote:
Assuming "multi-line matching" is on, a line followed by 3 empty lines?

On Mon, 2013-05-13 at 10:43 -0400, Geoffrey Myers wrote:
> Can anyone tell me what $$$$ is supposed to match in an extended grep??
>
> --
> >From my iPhone
> Geoffrey Myers
>




_______________________________________________
> Ale mailing list
> Ale at ale.org<mailto:Ale at ale.org>
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo

_______________________________________________
Ale mailing list
Ale at ale.org<mailto:Ale at ale.org>
http://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo


--
Mind on a Mission<http://leamhall.blogspot.com/>

_______________________________________________
Ale mailing list
Ale at ale.org<mailto:Ale at ale.org>
http://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo



--
--
James P. Kinney III

Every time you stop a school, you will have to build a jail. What you gain at one end you lose at the other. It's like feeding a dog on his own tail. It won't fatten the dog.
- Speech 11/23/1900 Mark Twain

http://electjimkinney.org
http://heretothereideas.blogspot.com/

_______________________________________________
Ale mailing list
Ale at ale.org<mailto:Ale at ale.org>
http://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo


_______________________________________________
Ale mailing list
Ale at ale.org<mailto:Ale at ale.org>
http://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo



--
--
James P. Kinney III

Every time you stop a school, you will have to build a jail. What you gain at one end you lose at the other. It's like feeding a dog on his own tail. It won't fatten the dog.
- Speech 11/23/1900 Mark Twain

http://electjimkinney.org
http://heretothereideas.blogspot.com/

_______________________________________________
Ale mailing list
Ale at ale.org<mailto:Ale at ale.org>
http://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo


_______________________________________________
Ale mailing list
Ale at ale.org<mailto:Ale at ale.org>
http://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo



--
--
James P. Kinney III

Every time you stop a school, you will have to build a jail. What you gain at one end you lose at the other. It's like feeding a dog on his own tail. It won't fatten the dog.
- Speech 11/23/1900 Mark Twain

http://electjimkinney.org
http://heretothereideas.blogspot.com/

_______________________________________________
Ale mailing list
Ale at ale.org<mailto:Ale at ale.org>
http://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo






Athena®, Created for the Cause™

Making a Difference in the Fight Against Breast Cancer





How and Why I Should Support Bottled Water!
Do not relinquish your right to choose bottled water as a healthy alternative to beverages that contain sugar, calories, etc. Your support of bottled water will make a difference! Your signatures count! Go to http://www.bottledwatermatters.org/luv-bottledwater-iframe/dswaters and sign a petition to support your right to always choose bottled water. Help fight federal and state issues, such as bottle deposits (or taxes) and organizations that want to ban the sale of bottled water. Support community curbside recycling programs. Support bottled water as a healthy way to maintain proper hydration. Our goal is 50,000 signatures. Share this petition with your friends and family today!



---------------------------------
CONFIDENTIALITY NOTICE: This e-mail may contain privileged or confidential information and is for the sole use of the intended recipient(s). If you are not the intended recipient, any disclosure, copying, distribution, or use of the contents of this information is prohibited and may be unlawful. If you have received this electronic transmission in error, please reply immediately to the sender that you have received the message in error, and delete it. Thank you.
----------------------------------


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20130514/28ad0eb8/attachment-0001.html>


More information about the Ale mailing list