Click here to Skip to main content
15,914,111 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Regular Expression - Achievement unlocked Pin
Marco Bertschi5-Feb-14 21:35
protectorMarco Bertschi5-Feb-14 21:35 
GeneralRe: Regular Expression - Achievement unlocked Pin
SoMad5-Feb-14 11:12
professionalSoMad5-Feb-14 11:12 
GeneralRe: Regular Expression - Achievement unlocked Pin
Marco Bertschi5-Feb-14 20:17
protectorMarco Bertschi5-Feb-14 20:17 
GeneralRe: Regular Expression - Achievement unlocked Pin
JimmyRopes5-Feb-14 16:29
professionalJimmyRopes5-Feb-14 16:29 
GeneralRe: Regular Expression - Achievement unlocked Pin
BillWoodruff5-Feb-14 17:38
professionalBillWoodruff5-Feb-14 17:38 
GeneralRe: Regular Expression - Achievement unlocked Pin
JimmyRopes5-Feb-14 18:14
professionalJimmyRopes5-Feb-14 18:14 
GeneralRe: Regular Expression - Achievement unlocked Pin
BillWoodruff5-Feb-14 19:46
professionalBillWoodruff5-Feb-14 19:46 
GeneralRe: Regular Expression - Achievement unlocked Pin
JimmyRopes6-Feb-14 2:12
professionalJimmyRopes6-Feb-14 2:12 
Ahhhhhhhhh. Dead | X| I knew I used RegEx for a reason.

I have been using RegEx since my first stint at Bell Laboratories in the late 1970's. If you couldn't "grep" you had no street cred.

Since then I have used RegEx on many platforms and in many languages. I don't even think about searching for patterns any other way.

I know people who despise RegEx but it is to their detrement. They will have to code and debug a lot of code to do any kind of complex pattern recognition when they could use a RegEx and be done with it.

As for the efficiency that will depend on whether the RegEx engine is context free NFA (Nondeterministic Finite Automaton) or context sensitive DFA (Deterministic Finite Automaton).

In general context free is slower at complex pattern recognition but much easier to implement. Unless your application is time critical you will not notice any serious delay in processing as a result of using RegEx and they are easier to implement and debug. That is why I use them wherever I need to parse data.

Just my opinion.

The report of my death was an exaggeration - Mark Twain

Simply Elegant Designs JimmyRopes Designs
Think inside the box! ProActive Secure Systems

I'm on-line therefore I am.
JimmyRopes




modified 6-Feb-14 22:10pm.

GeneralRe: Regular Expression - Achievement unlocked Pin
Marco Bertschi5-Feb-14 20:14
protectorMarco Bertschi5-Feb-14 20:14 
GeneralRe: Regular Expression - Achievement unlocked Pin
BillWoodruff5-Feb-14 21:20
professionalBillWoodruff5-Feb-14 21:20 
GeneralRe: Regular Expression - Achievement unlocked Pin
Marco Bertschi5-Feb-14 21:24
protectorMarco Bertschi5-Feb-14 21:24 
GeneralRe: Regular Expression - Achievement unlocked Pin
Steve Wellens5-Feb-14 17:51
Steve Wellens5-Feb-14 17:51 
GeneralRe: Regular Expression - Achievement unlocked Pin
Septimus Hedgehog5-Feb-14 21:29
Septimus Hedgehog5-Feb-14 21:29 
GeneralRe: Regular Expression - Achievement unlocked Pin
Rage5-Feb-14 22:12
professionalRage5-Feb-14 22:12 
GeneralRe: Regular Expression - Achievement unlocked Pin
Fabio Franco5-Feb-14 23:02
professionalFabio Franco5-Feb-14 23:02 
GeneralRe: Regular Expression - Achievement unlocked Pin
Thornik6-Feb-14 0:24
Thornik6-Feb-14 0:24 
GeneralRe: Regular Expression - Achievement unlocked Pin
svella6-Feb-14 3:17
svella6-Feb-14 3:17 
GeneralRe: Regular Expression - Achievement unlocked Pin
Marco Bertschi6-Feb-14 3:29
protectorMarco Bertschi6-Feb-14 3:29 
GeneralRe: Regular Expression - Achievement unlocked Pin
TheFigmo6-Feb-14 4:34
TheFigmo6-Feb-14 4:34 
GeneralRe: Regular Expression - Achievement unlocked Pin
Marco Bertschi6-Feb-14 4:37
protectorMarco Bertschi6-Feb-14 4:37 
GeneralRe: Regular Expression - Achievement unlocked Pin
syspau6-Feb-14 7:52
syspau6-Feb-14 7:52 
GeneralRe: Regular Expression - Achievement unlocked Pin
Ralph Little6-Feb-14 7:56
Ralph Little6-Feb-14 7:56 
GeneralRe: Regular Expression - Achievement unlocked Pin
dpminusa6-Feb-14 22:37
dpminusa6-Feb-14 22:37 
GeneralVisual Studio with MSDN Premium Pin
Joel Palmer5-Feb-14 7:41
Joel Palmer5-Feb-14 7:41 
GeneralRe: Visual Studio with MSDN Premium Pin
S Houghtelin5-Feb-14 7:50
professionalS Houghtelin5-Feb-14 7:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.