fixed position for regex patterns