Allow regular expressions in list_flags tags

Also, follow Java naming conventions. :innocent: