scriptsharp icon indicating copy to clipboard operation
scriptsharp copied to clipboard

Rename "RegularExpression" to "Regex" or "RegExp"

Open strygo opened this issue 13 years ago • 1 comments

Given that the type is semantically very similar to .NET, I could make a case for naming Regex. However, similar to what's been done with "Date", naming it as its JavaScript equivalent would be fine too.

RegularExpression is annoyingly long. :)

strygo avatar Oct 03 '12 15:10 strygo

Sounds reasonable - RegExp is probably a bit better (as I suspect there are probably some semantic differences lurking in here).

I should add it to my "cc" branch that is accumulating a little list of breaking changes. Or go ahead and make the change and I'll merge it in.

nikhilk avatar Oct 03 '12 16:10 nikhilk