Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
neuroelectron
4 months ago
|
parent
|
context
|
favorite
| on:
A minimax chess engine in regular expressions
a2a3 gives me illegal move game over. What am I missing here?
treetalker
4 months ago
[–]
Somewhat surprisingly (given the creator's regex chops) capital letters are not accepted. My guess is that your autocorrect changed the move to A2a3.
Bad news if you're almost done with a game and enter a move with the wrong case.
NooneAtAll3
4 months ago
|
parent
[–]
I'm on PC (firefox) and can reproduce it, no capital letters in my input
treetalker
4 months ago
|
root
|
parent
[–]
Hm. I don't get any errors unless I use a capital, and I get an error every time I do.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: