Lua String matching

Ref: https://www.lua.org/pil/20.2.html

Patterns

Use capital to match not of the pattern

.	all characters
%a	letters
%c	control characters
%d	digits
%l	lower case letters
%p	punctuation characters
%s	space characters
%u	upper case letters
%w	alphanumeric characters
%x	hexadecimal digits
%z	the character with representation 0

Magic Characters

These need escaping if you need to match them

 ( ) . % + - * ? [ ^ $