Changeset 2398


Ignore:
Timestamp:
06/13/20 18:55:40 (4 years ago)
Author:
nanardon
Message:

allow %%{} to not evaluate attribute

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Bases/Objects.pm

    r2395 r2398  
    324324    do { 
    325325        $old = $fmt; 
    326         $fmt =~ s&(?:%\{([\?!]+)?([^:}%]*)(?::([^}%]*))?\})& 
     326        $fmt =~ s&(?<!%)(?:%\{([\?!]+)?([^:}%]*)(?::([^}%]*))?\})& 
    327327            my $op = $1; 
    328328            my $attr = $2; 
Note: See TracChangeset for help on using the changeset viewer.