Drop redundant module import

Defines `RegExp.quote` directly, without module import.

X-Ref: #11726