mirror of
https://github.com/grpc/grpc-node.git
synced 2025-12-08 18:23:54 +00:00
This commit moves two regular expressions out of the functions they are used in, and defines them as constants. This commit also switches from match() to test(), as a Boolean result is all that's needed.