[ale] Reg ex foo

Charles Shapiro hooterpincher at gmail.com
Tue May 14 08:02:15 EDT 2013


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> 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>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>
>> *To: *"Atlanta Linux Enthusiasts" <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> 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>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> wrote:
>>>>
>>>>> Oracle license fees
>>>>>
>>>>>
>>>>> On Mon, May 13, 2013 at 10:53 AM, Tim Watts <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
>>>>>> > 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
>>>>>> 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
>>>>> 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
>>>> 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
>>> 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
>> 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
>> 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
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20130514/0871f2e6/attachment.html>


More information about the Ale mailing list