update regular-expression-matching