Everybody thank you!
Jiri
Merrill, Jason wrote:
Seriously, just play with RegExr / Regex Buddy, get the cheat sheets:
Am now - love it! Can't I still be in awe? :)
Jason Merrill
Bank of America | Learning Performance Solutions Instructional
Technology & Media
Learn about the A
>> Seriously, just play with RegExr / Regex Buddy, get the cheat sheets:
Am now - love it! Can't I still be in awe? :)
Jason Merrill
Bank of America | Learning Performance Solutions Instructional
Technology & Media
Learn about the Adobe Flash platform for rich media experiences - joi
Seriously, just play with RegExr / Regex Buddy, get the cheat sheets:
http://www.regexbuddy.com/
http://gskinner.com/RegExr/
http://www.addedbytes.com/cheat-sheets/regular-expressions-cheat-sheet/
Then spend some time dealing with Apache & Mod Rewrite which will
stretch your regex muscles...
sday, March 05, 2009 1:58 PM
To: Flash Coders List
Subject: Re: [Flashcoders] RegExp headache
Like Glen said, check out Grant's RegExr - it really helps this kind
of thing out. :-)
Ian
On Thu, Mar 5, 2009 at 6:51 PM, Merrill, Jason
wrote:
>>>/(((<|>)=?)|==)?(-?\d+)/
>
Like Glen said, check out Grant's RegExr - it really helps this kind
of thing out. :-)
Ian
On Thu, Mar 5, 2009 at 6:51 PM, Merrill, Jason
wrote:
>>>/(((<|>)=?)|==)?(-?\d+)/
>>>hot darn.
>
> A side note. I'm so in awe at the people who understand and can write
> Regular Expressions on a whim - I
>>/(((<|>)=?)|==)?(-?\d+)/
>>hot darn.
A side note. I'm so in awe at the people who understand and can write
Regular Expressions on a whim - I have hacked a few from some examples
for projects, but it's nothing I really understand too much, a skill I
need to learn - they are so handy.
Jason
oops, forgot about the comparison operator being optional. New version:
/(((<|>)=?)|==)?(-?\d+)/
hot darn.
Dave
On Thu, Mar 5, 2009 at 10:44 AM, David Hershberger wrote:
> How's this?
>
> /(((<|>)=?)|==)(-?\d+)/
>
> Then the comparison operator is in result[1] and the number is in
> result[4].
How's this?
/(((<|>)=?)|==)(-?\d+)/
Then the comparison operator is in result[1] and the number is in
result[4]. You said "integer", so I threw in the optional negative sign. :)
Dave
On Thu, Mar 5, 2009 at 10:02 AM, Glen Pike wrote:
> Hi,
>
> How about:
>
> /([=><]+)([0-9]+)/
>
> Check
Hi,
How about:
/([=><]+)([0-9]+)/
Check out "RegExr" by Grant Skinner - it's lovely.
The problem with <= and >= is that there is "look behind" in the
regex controlled by these chars so the order of =>< seems to be important???
Glen
Jiri wrote:
I would like some help on a
I would like some help on a regExp
I have a string and want to split it into the first character being a
<|>|<=|>=|== the second part being an int.
so ">100"
would return
result[1] = '>'
result[2] = 100
so "100"
would return
result[1] = 'undefined'
result[2] = 100
Here is what I have so fa
10 matches
Mail list logo