[Geany] RegExp help needed - HTML parser
Enrico Tröger
enrico.troeger at xxxxx
Sun Mar 9 18:55:18 UTC 2008
Hi,
since my knowledge in writing good regular expressions is very limited,
I wasn't able to write one to parse something like the following:
<h1><a href="#id109">Some Text</a></h1>
or
<h1>Some Text</h1> */
In tagmanager/html.c you can find the relevant code (INNER_HEADING
macro) and there is one regexp for each case of the above examples. But
I wasn't able to combine these regexps so that both examples can be
parsed sucessfully with one regexp.
If anyone feels bored, have a look ;-).
Regards,
Enrico
--
Get my GPG key from http://www.uvena.de/pub.key
-------------- 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/20080309/8d8d478d/attachment.pgp>
More information about the Users
mailing list