For more information, see the section on flags in “Exploring JavaScript”. The remaining flags are not supported because they would either make regular expression semantics too complicated (e.g. flag v) or because they only make sense if applied to the whole regular expression (e.g. flag g). What are the use cases for pattern modifiers? # Use case: changing flags for part of a regular expression