Help for this page

Select Code to Download


  1. or download this
    #                        look
    #                        behind  |------ $1 ------|
    my $with_braces    = qr/ (?<!\\) ( \$ \{ (\w+) \} ) /x;
    my $without_braces = qr/ (?<!\\) ( \$    (\w+)    ) /x;
    #                                        |$2 |