Derek++ 0 Posted February 8, 2014 Report Share Posted February 8, 2014 Is there a way to apply regex modifiers? For example the 's' modifier to treat the text as a single line. Is there any documentation showing what regex features are supported in ubot? Quote Link to post Share on other sites
UBotDev 276 Posted February 8, 2014 Report Share Posted February 8, 2014 To answer your question...yes, you can use them; add "(?s)" in front of the expression to turn on single line mode, or use combination of "(?s)" and "(?-s)" to specify a region that should be treated in single line mode. Becasue UBot uses .NET Regular Expression Engine, you can refer for documentation here:http://msdn.microsoft.com/en-us/library/az24scfc(v=vs.110).aspx 1 Quote Link to post Share on other sites
Derek++ 0 Posted February 8, 2014 Author Report Share Posted February 8, 2014 Thanks! That's very helpful. Should add that to the wiki. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.