Revision: 2514 http://geany.svn.sourceforge.net/geany/?rev=2514&view=rev Author: eht16 Date: 2008-04-22 06:36:20 -0700 (Tue, 22 Apr 2008)
Log Message: ----------- Fix wrong regular expression.
Modified Paths: -------------- trunk/tagmanager/html.c
Modified: trunk/tagmanager/html.c =================================================================== --- trunk/tagmanager/html.c 2008-04-22 13:15:54 UTC (rev 2513) +++ trunk/tagmanager/html.c 2008-04-22 13:36:20 UTC (rev 2514) @@ -27,11 +27,11 @@ * <h1><a href="#id109">Some Text</a></h1> * but it fails matching simple headings like * <h1>Some Text</h1> */ -/*#define INNER_HEADING "[ \t]*(<.*>(.*+)<.*>[ \t]*"*/ +/*#define INNER_HEADING "[ \t]*<.*>(.+)<.*>[ \t]*"*/
/* this matches simple heading without nested tags */ /** TODO combine both pattern to be able to match both heading styles */ -#define INNER_HEADING "[ \t]*(.*+)[ \t]*" +#define INNER_HEADING "[ \t]*(.+)[ \t]*"
addTagRegex (language, "<a"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.