From: Benito v. d. Z. <be...@be...> - 2012-05-25 00:07:00
|
> We should say, that it's just > a regexp. Either in the tooltip or in the manual or both. The blue box tooltip says something like that. > Btw. Is capturing possible? Not really. The trigger regex supports all captures, but since there is no codesnippet syntax to insert them, the captures are useless On 05/25/12 01:02, Tim Hoffmann wrote: >> 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? > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > TeXstudio-list mailing list > TeX...@li... > https://lists.sourceforge.net/lists/listinfo/texstudio-list > |