Re: [gedit-list] gedit gtksourceview regex flavour?
- From: Sébastien Wilmet <swilmet gnome org>
- To: B rock <brock hotmail co uk>
- Subject: Re: [gedit-list] gedit gtksourceview regex flavour?
- Date: Thu, 26 Jun 2014 13:04:57 +0200
On Thu, 2014-06-26 at 09:06 +0000, B rock wrote:
<context id="myregex" style-ref="myregexstyle">
<match>(?<=foo)bar</match>
</context>
You must write < as <, like:
<match>(?<=foo)bar</match>
You can also have a simpler regex:
<match>foo(bar)</match>
and apply the style only to "bar".
--
Sébastien
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]