r/PowerShell • • Jun 18 '20

Was testing REGEX, when suddenly...

I realized I might still be 12.

PS C:\> 'ob' -match '(.)(.)' ; $Matches
True

Name                           Value
----                           -----
2                              b
1                              o
0                              ob
162 Upvotes

20 comments sorted by

View all comments

5

u/Enschede2 Jun 18 '20

707 + 707

2

u/flyingmunky25 Jun 19 '20

This took me far longer than it should have.

1

u/Enschede2 Jun 19 '20

Yea I kinda forgot that it probably only works on the old calculators with the upside-down h as a 4