Instead of regex as a "hidden" argument in the list, make it a separate boolean argument for clarity sake.