Content deleted Content added
Handle lowercase start in sig regex |
more regex capitalisation stuff (so many) |
||
Line 59:
local timestampRegex = "((%d%d:%d%d, %d%d? %w+,? %d%d%d%d) %(UTC%))"
local userRegex = "(%[%[:?[Uu]ser:([^#|%]]+))"
local userTalkRegex = "(%[%[:?[Uu]ser[ _]
local userContribRegex = "(%[%[:?[Ss]pecial:
for line in string.gmatch(text,"[^\n]+") do
--Split by line and check all content on said line. This assumes all signatures never use newlines, which they should not be doing anyways.
|