import: Allow import # and () and /x and .number
This commit is contained in:
parent
d0e620d858
commit
f517c7a776
|
@ -75,12 +75,23 @@ class GameRecorder {
|
||||||
.replaceAll(';', ' ')
|
.replaceAll(';', ' ')
|
||||||
.replaceAll('!', ' ')
|
.replaceAll('!', ' ')
|
||||||
.replaceAll('?', ' ')
|
.replaceAll('?', ' ')
|
||||||
|
.replaceAll('#', ' ')
|
||||||
|
.replaceAll('()', ' ')
|
||||||
.replaceAll('white', ' ')
|
.replaceAll('white', ' ')
|
||||||
.replaceAll('black', ' ')
|
.replaceAll('black', ' ')
|
||||||
.replaceAll('win', ' ')
|
.replaceAll('win', ' ')
|
||||||
.replaceAll('lose', ' ')
|
.replaceAll('lose', ' ')
|
||||||
.replaceAll('draw', ' ')
|
.replaceAll('draw', ' ')
|
||||||
.replaceAll('resign', ' ')
|
.replaceAll('resign', ' ')
|
||||||
|
.replaceAll('-/x', 'x')
|
||||||
|
.replaceAll('/x', 'x')
|
||||||
|
.replaceAll('.a', '. a')
|
||||||
|
.replaceAll('.b', '. b')
|
||||||
|
.replaceAll('.c', '. c')
|
||||||
|
.replaceAll('.d', '. d')
|
||||||
|
.replaceAll('.e', '. e')
|
||||||
|
.replaceAll('.f', '. f')
|
||||||
|
.replaceAll('.g', '. g')
|
||||||
.split(' ');
|
.split(' ');
|
||||||
|
|
||||||
for (var i in list) {
|
for (var i in list) {
|
||||||
|
|
Loading…
Reference in New Issue