Your second example is horrible. Say not /[a-z]/, never /^[^a-z]*$/.
⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊
In reply to Re^2: regex hell by diotalevi in thread regex hell by Anonymous Monk