On Friday, May 10, 2002, at 10:52 , Eric Wang wrote:
> Can you explain what all that means?
> specifically the /!([^!]*)/g part
> and the $1 part
>
> I only had limited automaton experience
> thanks for your time
the scary part is that this is part of the Regular Expression Game,
and less to do
Can you explain what all that means?
specifically the /!([^!]*)/g part
and the $1 part
I only had limited automaton experience
thanks for your time
Eric
> You could use split(), but you'd have to get rid of the first
> (empty) element. Instead, I would suggest the following regex:
>
> while
> I want to slice up this variable into a single variable and
> loop until its empty The variable is seperated via !
> explnation points and I want the numbers. This string can be
> various in length ? Note it doesnt end with that delimiter. Help
>
> example
>
> $jims = "!23!45!67
Ho
On May 10, FLAHERTY, JIM-CONT said:
>This string can be various in length ? Note it doesnt end with that
>delimiter. Help
>
> $jims = "!23!45!67
You could use split(), but you'd have to get rid of the first
(empty) element. Instead, I would suggest the following regex:
while ($string =~ /!
I want to slice up this variable into a single variable and loop until its
empty
The variable is seperated via ! explnation points and I want the numbers.
This string can be various in length ? Note it doesnt end with that
delimiter. Help
example
$jims = "!23!45!67