Sorry, I've been busy these days
`#'?\((\(*)` @{1} + ")"the @{1} will refer to the grouped expression of the previous matched string, i.e., (\(*) which looks wrong to me...
thus, the ending delimiter would try to match "()" which looks wrong to me...again, could you please provide some examples of strings that you need to match?
Lorenzo On 01/31/2012 10:23 AM, Federico Bruni wrote:
Can anyone help on it? It's the last fix before submitting the files. This is the regexp: environment scheme_block delim `#'?\((\(*)` @{1} + ")" multiline nested begin environment scheme_block delim "(" ")" multiline nested begin include "url.lang" end end Thanks, Federico Il 22/01/2012 14:52, Federico Bruni ha scritto:Another small problem I cannot understand. The block can have also an optional ' before the brackets, like in this example: #'((basic-distance . 12) (minimum-distance . 6) (padding . 1) (stretchability . 12))) % checker I've added '? to the regexp I pasted before: environment scheme_block delim `#'?\((\(*)` @{1} + ")" multiline nested begin environment scheme_block delim "(" ")" multiline nested begin include "url.lang" end end The first delimiter works fine, but the highlight goes over the end delimiter and the "% checker" string is highlighted as well, while it shouldn't. I guess I'm doing something stupid, but I can't see it. Thanks for your help, it's almost done :)_______________________________________________ Help-source-highlight mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-source-highlight
-- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino ICQ# lbetto, 16080134 (GNU/Linux User # 158233) HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com http://www.myspace.com/supertrouperabba BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com http://www.gnu.org/software/src-highlite http://www.gnu.org/software/gengetopt http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net _______________________________________________ Help-source-highlight mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-source-highlight
