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.
On 24 May 2012 17:07, Alessandro Pasotti apasotti@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?
Cheers Lex
-- Alessandro Pasotti w3: www.itopen.it _______________________________________________ Geany mailing list Geany@uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany
2012/5/24 Lex Trotman elextr@gmail.com:
On 24 May 2012 17:07, Alessandro Pasotti apasotti@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:
text:
pind2dir, pind12dir
regexp (doesn't work):
pind(\d+)dir
regexp (this works):
pind([0-9]+)dir
Have a nice day!
On 24 May 2012 17:36, Alessandro Pasotti apasotti@gmail.com wrote:
2012/5/24 Lex Trotman elextr@gmail.com:
On 24 May 2012 17:07, Alessandro Pasotti apasotti@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@uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany
2012/5/24 Lex Trotman elextr@gmail.com:
On 24 May 2012 17:36, Alessandro Pasotti apasotti@gmail.com wrote:
2012/5/24 Lex Trotman elextr@gmail.com:
On 24 May 2012 17:07, Alessandro Pasotti apasotti@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.
Thanks,
by chance, are there any deb builds or nightly ppa or should I go for compiling ?
On 24 May 2012 17:54, Alessandro Pasotti apasotti@gmail.com wrote:
2012/5/24 Lex Trotman elextr@gmail.com:
On 24 May 2012 17:36, Alessandro Pasotti apasotti@gmail.com wrote:
2012/5/24 Lex Trotman elextr@gmail.com:
On 24 May 2012 17:07, Alessandro Pasotti apasotti@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.
Thanks,
by chance, are there any deb builds or nightly ppa or should I go for compiling ?
http://nightly.geany.org/ has several debs remade each night.
Cheers Lex
-- Alessandro Pasotti w3: www.itopen.it _______________________________________________ Geany mailing list Geany@uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany
On 2012-05-24, at 12:48 AM, Lex Trotman wrote:
On 24 May 2012 17:36, Alessandro Pasotti apasotti@gmail.com wrote:
2012/5/24 Lex Trotman elextr@gmail.com:
On 24 May 2012 17:07, Alessandro Pasotti apasotti@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.
Yep, the regexp syntax changed with the PCRE/GLIB implementation.
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
The Perl-like syntax is available in the development sources (or nightly builds). For the current release, you can use `[a-zA-Z]` or whatever the equivalent is for \w as you said. IIRC it's (something like) POSIX (or is it GNU-specific?) regexp syntax, so maybe even those weird `[[:alnum:]]` and `[[:alpha:]]` things also work. For \s I usually used something like `[ \t]` IIRC.
Cheers, Matthew Brush