Update RegEx pattern