here's a perl question for the list.

how does one resolve the ambiguity between octal references and
backreferences followed by numbers?

example:

to replace foobar with fubar, I could use the following:

    s/foo(bar)/fu\1/

but let's say I wanted to replace it with fubar01:

    s/foo(bar)/fu\101/

unfortunately, \101 is interpreted as octal 101 instead of backreference
1 followed by 01.

any ideas?

-jason

_______________________________________________
Siglinux mailing list
[EMAIL PROTECTED]
http://machito.utacm.org/mailman/listinfo/siglinux

Reply via email to