You can match directly against the type of v, but you need a value pattern to refer to the types to match, as a "dotless" name is a capture pattern that matches any value.
USA Today: Build wealth without lifting a finger? Your 401(k) match can do the work
Build wealth without lifting a finger? Your 401(k) match can do the work
Your employer's 401(k) match looks like a small line on your pay stub, but it functions more like a built‑in raise that quietly compounds for decades. Treated correctly, that "extra" contribution can ...
pix11: How fund matching can put power in the hands of New York voters
How fund matching can put power in the hands of New York voters
The Motley Fool: Set It and Forget It: How a 401(k) Match Can Grow Your Nest Egg Automatically
Set It and Forget It: How a 401(k) Match Can Grow Your Nest Egg Automatically
Streaming platforms for Safari: Match Me If You Can haven’t been announced yet. Check back soon for updates on where you can watch it online.
The match will be $& unless you use look-before and look-behind (unsure whether using those will actually save any memory); if you are interested in just a part of the match, use a capturing group.
How to match, but not capture, part of a regex? - Stack Overflow
I need a regex which will allow only A-Z, a-z, 0-9, the _ character, and dot (.) in the input. I tried: [A-Za-z0-9_.] But, it did not work. How can I fix it?