Re: CAtlRegExp kind of hangs with some expressions

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



This monster is one of my favourites (warning, when this posts I'm expecting
to break over lines)

\s*(([\w\-]{1,}(\.{0,}[\w\-]{1,}){0,}@[\w\-\.]{0,}\.[a-z]{2,5})[;,]\s*)*([\w\-]{1,}(\.{0,}[\w\-]{1,}){0,}@[\w\-\.]{0,}\.[a-z]{2,5})\s*



It will accept multiple email addresses, separated by either commas or
semicolons.



Brian






.



Relevant Pages

  • Re: System call not acting as expected
    ... You seem to be expecting the latter behaviour, ... Why are you using commas there ... all sorts of fun problems, like having to sort out terminal escape ... > The result of this line confirms that it is generating exactly the command ...
    (comp.lang.perl.misc)
  • Re: popen/fgets issue
    ... separated by commas." ... I use wide terminals, to ... I misread the original question, I thought you were expecting each file ...
    (comp.unix.programmer)
  • Re: Bastard Steve stole my idea!
    ... i'm expecting a 12" or 17" PB in compensation for the ... There is no luminescent paint on the keys of MacBooks, ... "Posts: 59 Your idea?! ... "I submitted forms and forms to IBM, Apple, MacAlly, a few more. ...
    (comp.sys.mac.advocacy)
  • Re: Bastard Steve stole my idea!
    ... Bastard Steve stole my idea! ... i'm expecting a 12" or 17" PB in compensation for the ... There is no luminescent paint on the keys of MacBooks, ... "Posts: 59 Your idea?! ...
    (comp.sys.mac.advocacy)
  • Re: Bastard Steve stole my idea!
    ... Bastard Steve stole my idea! ... i'm expecting a 12" or 17" PB in compensation for the ... There is no luminescent paint on the keys of MacBooks, ... "Posts: 59 Your idea?! ...
    (comp.sys.mac.advocacy)