Go to top
AbbrConvertプラグインで使用している正規表現です。以下の例では、タグの外側の「foo」という文字列を「bar」に置換します。解説は後ほど。
s/((?:\G|>)[^<]*?)foo/$1bar/g;
Contact me
Comments