Help for this page

Select Code to Download


  1. or download this
    # For the sake of the discussion lets ignore the fact the 
    # curlies didnt need to be escaped.
    s!{.*?}!{$sub[$n++]}!g;
    s:{.*?}:{$sub[$n++]}:g;
    
  2. or download this
    s#{.*?}#{$sub[$n++]}#g;