^ a une signification qui dépend du contxte : c'est une négation quand il est utilisé dans les classes
[^a] <=> tout sauf a
^a <=> a en début de ligne
<context attribute="Normal Text" lineEndContext="#stay" name="Label"> <RegExpr attribute="Label" context="#stay" String="^[A-Za-z0-9_$@\][A-Za-z0-9_.$@]*:" /> <!-- <RegExpr attribute="Label" context="AfterLabel" String="[A-Za-z0-9_$@][A-Za-z0-9_.$@]*(?=\s+[_\w])" /> --> <RegExpr attribute="Normal Text" context="AfterLabel" String="\s+" /> [VIRE LE CARRET ICI, AVANT LE '\s+'] <DetectChar attribute="Comment" context="Commentar 1" char=";" /> </context>