Go to repository
Internal

Function regexpEquals

Answer if two RegExps are equal. Two RegExps are equal when they both have the exact source and flags.

Parameters

Returns boolean

true if both RegExp are equal, false otherwise.