is not used any more and exists only for history. Post new tickets on the Github account. n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Opened 10 years ago

Last modified 9 years ago

#1257 confirmed enhancement

Modificateur regex_replace

Reported by: yamsuz Owned by:
Priority: normal Milestone:
Component: jelix:plugins:tpl Version: trunk
Severity: trivial Keywords:
Cc: Blocked By:
Blocking: Documentation needed: no
Hosting Provider: Php version:


Dans les templates, si on veut mettre une expression régulière avec des accolades.

exemple :

$maVar = 'TOTOO'; {$maVar|regex_replace:'/O{1, 2}/':'ii'}

Change History (2)

comment:1 Changed 10 years ago by laurentj

  • Component changed from jelix to jelix:plugins:tpl
  • Severity changed from normal to trivial
  • Type changed from bug to enhancement

comment:2 Changed 9 years ago by laurentj

  • Status changed from new to confirmed
Note: See TracTickets for help on using tickets.