replace '[:blank:]' pattern with ' \t'
replace '[:alnum:]' pattern with 'a-zA-Z0-9'
replace '[:alpha:]' pattern with 'a-zA-Z'
replace '[[:digit:]]' pattern with '\d'
define constants for regexp character classes
flatten any_list regex to single line