Anthony Rumble wrote:
>
> s/\$ord\{/\$ord\-\>\{/g
>
> Why doesn't that work?
Assuming this is perl:
s/\$ord\{/\$ord\-\>\{/g
changes nothing, unless "$ord" is found in
the current string $_
What does $_ equal? Whatizit?
BTW: What are you trying to accomplish? What is the spec?
-rickw
--
Rick Welykochy || Praxis Services Pty Limited
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug
- [SLUG] Stupid Regex questions.. Anthony Rumble
- Re: [SLUG] Stupid Regex questions.. Alexander Else
- Re: [SLUG] Stupid Regex questions.. Herbert Xu
- Re: [SLUG] Stupid Regex questions.. Rick Welykochy
- Re: [SLUG] Stupid Regex questions.. Anthony Rumble
- Re: [SLUG] Stupid Regex questions.. Rick Welykochy
- [SLUG] Re: Stupid Regex questions.. Angus Lees
- Re: [SLUG] Re: Stupid Regex questions... Herbert Xu
- Re: [SLUG] Stupid Regex questions.. Scott Howard
- Re: [SLUG] Stupid Regex questions.. Herbert Xu
- Re: [SLUG] Stupid Regex questions... Scott Howard
- Re: [SLUG] Stupid Regex quest... Herbert Xu
- Re: [SLUG] Stupid Regex questions.. Jim Clark
- Re: [SLUG] Stupid Regex questions.. Scott Howard
