Added regex conditions
Updated docs to include regex