mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-05 20:45:49 +01:00
keep elipses char where it belongs when reversing rest of strings
This commit is contained in:
parent
49001c6893
commit
c42e5f2c0f
2 changed files with 587 additions and 587 deletions
File diff suppressed because it is too large
Load diff
|
@ -1,4 +1,5 @@
|
|||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import sys, getopt, re, os
|
||||
from lxml import etree
|
||||
|
@ -12,12 +13,11 @@ expr = '(' + \
|
|||
r"\\'" , \
|
||||
r'\\"' , \
|
||||
r'\s' , \
|
||||
r'[;:.]' , \
|
||||
u'[;:.…]' , \
|
||||
] ) + \
|
||||
')'
|
||||
|
||||
# Can't make these work...
|
||||
# r'[;:.]' , \
|
||||
# r'\(' , \
|
||||
# r'\)' , \
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue