[Geany] New to geany: regexp problem

Lex Trotman elextr at xxxxx
Thu May 24 07:48:03 UTC 2012


On 24 May 2012 17:36, Alessandro Pasotti <apasotti at gmail.com> wrote:
> 2012/5/24 Lex Trotman <elextr at gmail.com>:
>> On 24 May 2012 17:07, Alessandro Pasotti <apasotti at gmail.com> wrote:
>>> Hi all,
>>>
>>> Recently I started using Geany and I like it very much, light,
>>> configurable and fast.
>>>
>>> The only thing I miss is that I cannot use  \d, \w and \s       (shorthand
>>> character classes matching digits, word characters etc.) in regexp
>>> search/replace, is this just me?
>>>
>>> A feature or a bug?
>>>
>>> Should I file a ticket?
>>>
>>> I'm on latest (k)ubuntu Linux 64 bit if that matters.
>>
>> Hi,
>>
>> Works for me, what version are you using?
>
> Hi Lex,
>
> thanks for checking, version is 0.21, one expression that doesn't work
> is for instance:
>

Ok, we changed the regex implementation post 0.21 release.

You can always try the git or nightly tarball version bearing mind
that these are development versions.

Cheers
Lex

> text:
>
> pind2dir, pind12dir
>
>
> regexp (doesn't work):
>
> pind(\d+)dir
>
>
> regexp (this works):
>
> pind([0-9]+)dir

This works on current git release.

>
>
> Have a nice day!
>
> --
> Alessandro Pasotti
> w3:   www.itopen.it
> _______________________________________________
> Geany mailing list
> Geany at uvena.de
> https://lists.uvena.de/cgi-bin/mailman/listinfo/geany



More information about the Users mailing list