Module:Extract text: Difference between revisions

Jump to navigation Jump to search
34 bytes removed ,  23:05, 13 December 2020
this might be more useful
(Created page with "local ExtractText = {} function ExtractText.from_parentheses(frame) local match_result = frame.args[1]:match'%((.*)%)' if match_result == nil then error'The text did no...")
 
(this might be more useful)
Line 5: Line 5:
if match_result == nil then
if match_result == nil then
error'The text did not contain parentheses.'
return nil
else
else
return match_result
return match_result

Navigation menu