Getting the whole matched string in Python

Posted by Slick2175 on Sat 22 Nov 2014 06:55 PM — 1 posts, 12,857 views.

USA #0
Just wanted to point out with lua, with stuff like string.match it doesnt use the PCRE-style regular expression like the triggers and stuff do in mushclient, lua has its own regexp.

Big difference is the \ charcter is replaced with %. I knew I was getting drove nuts till I was informed about that.


http://www.gammon.com.au/scripts/doc.php?lua=string.find