|
From: Tim H. <hof...@hi...> - 2012-05-24 23:02:45
|
> Von: Benito van der Zander [mailto:be...@be...] > Gesendet: Donnerstag, 24. Mai 2012 23:44 > > > That's true. I'm also not disinclined to programming and regexps, but > > that syntax is nothing I intuitively understand. So I did not bother > > with it much. Also it's not well documented. > It's actually just a standard regexp. > > \s space > ^ line start > \S no space (i.e. a character within a word ) > \s|^ space or line start (i.e. a character not within a word) > (?<=...) Look behind > (?<=\S) Last character is not a space (i.e. current character is > after/within a word) > (?<=\s|^) Last character is a space/line start (i.e. current character is before a > word) Ok, I didn't know the syntax for look behind. We should say, that it's just a regexp. Either in the tooltip or in the manual or both. Btw. Is capturing possible? |