More thoughts on regex