[Geany] regex repetition-operator operand invalid (was Re: ANN: New Release: Geany 0.14)

Enrico Tröger enrico.troeger at xxxxx
Tue Apr 22 13:37:23 UTC 2008


On Tue, 22 Apr 2008 15:18:51 +0100, Nick Treleaven
<nick.treleaven at btinternet.com> wrote:

> On Sun, 20 Apr 2008 11:45:30 +0200
> Enrico Tröger <enrico.troeger at uvena.de> wrote:
> 
> > On Sun, 20 Apr 2008 09:44:16 +1200, Andy Elvey
> > <andy.elvey at paradise.net.nz> wrote:
> > 
> > > regex: regcomp <h1>[    ]*(.*+)[        ]*</h1>:
> > > repetition-operator operand invalid
> > Huh again.
> > Did you have opened any HTML files? 
> 
> I think this is the problem in tagmanager/html.c:
> 
> #define INNER_HEADING "[ \t]*(.*+)[ \t]*"
> 
> In (.*+) the + operator is not allowed to follow the * operator, it
> doesn't make sense. Maybe you meant '(.+)'.
Probably I meant this ;-), Fixed in SVN.

One more proof, regular expressions are not my friends...


Regards,
Enrico

-- 
Get my GPG key from http://www.uvena.de/pub.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/users/attachments/20080422/6e242083/attachment.pgp>


More information about the Users mailing list