I can't reply.....I'm on vacation.
Naw...gotta say it....WAY TO GO MILONGUERO!
Regex stumper
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
- Bob Hansen
- Posts: 1516
- Joined: Sun Mar 02, 2003 8:15 pm
- Location: Salem, NH
- Contact:
But hang on here... now I back tracking the thread based on Bob's bright red banner... it came to light that Keith hijacked the code ...your a pirate.. walk da plank
When I saw it this morning I was so puffy eyed I didnt realise what I was seeing with all those slashes and though Keith rewrote a new regex..
Milonguero, Your're da MAN.. I feel like a royal a**hole.
Thnx a million dude... Im now actually putting ure regex into a perl script.
PS: Seems like someone took their computer on vacation too.
When I saw it this morning I was so puffy eyed I didnt realise what I was seeing with all those slashes and though Keith rewrote a new regex..
Milonguero, Your're da MAN.. I feel like a royal a**hole.
Thnx a million dude... Im now actually putting ure regex into a perl script.
PS: Seems like someone took their computer on vacation too.
Aw jeeese, this is just too good to pass up.
http://www.jeffyjeffy.com/code/textpad/ ... pq_strings
:' )
http://www.jeffyjeffy.com/code/textpad/ ... pq_strings
:' )
Hehe we all made it over to Jeffy's place..
And in Perl
And in Perl
Code: Select all
while ($text =~ /\s*(([^"][^\s"]*)|("[^"]*"))/g) {
print $1 ."\n";
}
- Bob Hansen
- Posts: 1516
- Joined: Sun Mar 02, 2003 8:15 pm
- Location: Salem, NH
- Contact: