8187168ca2
more cleanPgn() cleanup: trim lines, del initial blanks, one space only...
2023-06-18 21:56:01 +02:00
ce0923d0e9
Much faster regex to catch brackets inside braces
2023-06-18 17:53:17 +02:00
5ca6c49f62
fix for #1 (1, 2, 9, 13), by hiding brackets in movetext comments
2023-06-14 15:18:37 +02:00
29f778308b
Fix issue #1 . But not the dangerous problems with (9) and (13).
2023-06-13 22:24:25 +02:00
6c8c93f451
Cancel "$1" style removal in cleanPgn
2021-06-05 13:12:35 +02:00
0752f04ce4
Fix bug #11 (lost double quotes in "] pattern
2021-06-05 13:02:43 +02:00
2bb109b77c
remove wrong file_put_contents
2021-06-05 12:56:14 +02:00
Alf Magne Kalleland
d3773ab4fb
Fix bug in parser when there are hidden chars at beginning of pgn
2019-07-06 22:05:35 +02:00
Alf Magne Kalleland
8761d777fe
Fix problem with en passant moves in combination with king in chess
...
The parser did not handle fen's like
8/8/7p/5P1k/5pPp/P6K/4r2R/8 b - g3
properly. It reported pawn h4 to g3 as an invalid move. This has now been fixed
2018-06-30 14:03:55 +02:00
DHTMLGoodies
ddeb4e8510
bugfix - to short version - skipping comment moves
2017-08-17 14:36:12 +02:00
DHTMLGoodies
69466a1b45
updates
2017-08-17 14:33:53 +02:00
DHTMLGoodies
bdaa2b31cd
updates
2017-08-17 14:31:25 +02:00
DHTMLGoodies
68d6e084c9
Bugfixes + support for getting shorter parsing format
2017-08-17 13:53:35 +02:00
DHTMLGoodies
bd8ff3e485
updates
2017-04-14 19:17:26 +02:00
DHTMLGoodies
2b1e3e0f04
Added support for one line pgn
2017-03-01 19:51:08 +01:00
DHTMLGoodies
a834acb72e
Added support for one line pgn
2017-03-01 19:43:06 +01:00
DHTMLGoodies
83efc94107
Gracefully skiping games the parser don't understand
2017-02-22 18:15:12 +01:00
DHTMLGoodies
1fcf22de2c
before find words routine
2017-02-05 14:24:49 +01:00
DHTMLGoodies
5505a28b1d
Parsing out clock %clk comments
2017-01-30 13:42:28 +01:00
DHTMLGoodies
d17e42e7da
updates
2017-01-30 13:21:54 +01:00
DHTMLGoodies
859f8ed1eb
Stripping Fritz emt comments
2014-04-28 12:48:11 +02:00
DHTMLGoodies
09e221b2d8
Parser fix
2013-08-28 13:56:06 +02:00
DHTMLGoodies
384ee85473
Parser fix
2013-08-28 13:50:12 +02:00
DHTMLGoodies
aad46951e0
Sanitize file name
2013-08-28 13:25:50 +02:00
Alf Magne Kalleland
3d6e0ae60b
TODO in fen parser
2013-02-12 02:20:28 +01:00
Alf Magne Kalleland
f00ceee0bb
Fixed problem with parser and castle with numeric values 0-0 instead of the correct O-O
2013-02-12 01:25:18 +01:00
Alf Magne Kalleland
9050a454c5
Code cleanup in parser
2013-02-08 01:34:49 +01:00
DHTMLGoodies
256b4ea739
Code cleanup parser
2013-02-07 17:45:11 +01:00
DHTMLGoodies
929c109bb9
Code cleanup and fixed bug in Regex
2013-02-07 17:21:39 +01:00
Alf Magne Kalleland
c6782583fc
Reserved metadata moved from metadata sub array
2013-02-06 23:31:04 +01:00
DHTMLGoodies
9ff7fb1998
Minor refactoring
2013-01-17 15:11:36 +01:00
DHTMLGoodies
5396570fd6
Added files
2013-01-17 15:02:46 +01:00