1 --- # Syntaxe des raccourcis SPIP, version 0.0.1
3 # Si on nomme une regle, elle devient surchargeable
28 replace: tw_liste_init
31 # premiere parenthese ne compte pas dans la profondeur
32 # capture * deuxieme parenthese : ul
33 # capture # deuxieme parenthese : ol
34 # nombre de car dans la 2eme parenthese = profondeur
35 match: ",(\n-)(\*+|\#+)([^*#].*)(?=(?:\z|\n-)),UsS"
36 replace: tw_liste_item
40 replace: tw_liste_close
44 if_match: "/\n-( )?[\?!]\s/S"
55 if_match: "/-( )?[!\?]\s/S"
64 match: ",(\n-( )?\?\s+)(.*)(?=(\z|\n-)),UsS"
65 replace: "<dt>$3</dt>"
67 match: ",(\n-( )?!\s+)(.*)(?=(<dt>|</dl>|\z|\n-)),UsS"
68 replace: "<dd>$3</dd>"