Help for this page

Select Code to Download


  1. or download this
        my $inlinetag = do {
            my $acc =
            qr/(?> \{          (?: (?> \\. | [^\\{}]+ | (??{ $acc }) ) )* 
    +  \} )/x;
            qr/    \{ (\w+): ( (?: (?> \\. | [^\\{}]+ | (??{ $acc }) ) )* 
    +) \}  /x;
        };
    
  2. or download this
        my $acc =
            qr/(?> \{          (?: (?> \\. | [^\\{}]+ | (??{ $acc }) ) )* 
    +  \} )/x;
        my $inlinetag =
            qr/    \{ (\w+): ( (?: (?> \\. | [^\\{}]+ | (??{ $acc }) ) )* 
    +) \}  /x;
    
  3. or download this
        my $inlinetag = sub {
            my $acc =
            qr/(?> \{          (?: (?> \\. | [^\\{}]+ | (??{ $acc }) ) )* 
    +  \} )/x;
            qr/    \{ (\w+): ( (?: (?> \\. | [^\\{}]+ | (??{ $acc }) ) )* 
    +) \}  /x;
        };