Backslashes

0 views
Skip to first unread message

Oleg Broytmann

unread,
Apr 22, 2009, 12:27:00 PM4/22/09
to ParseDateTime-Dev
A small patch I'd like to ask to be applied:

--- parsedatetime.py.orig 2009-01-07 08:02:08.000000000 +0300
+++ parsedatetime.py 2009-04-22 20:02:43.000000000 +0400
@@ -1217,7 +1217,7 @@
print 'parse (top of loop): [%s][%s]' % (s, parseStr)

if parseStr == '':
- # Modifier like next\prev..
+ # Modifier like next/prev...
m = self.ptc.CRE_MODIFIER.search(s)
if m is not None:
self.modifierFlag = True
@@ -1231,7 +1231,7 @@
parseStr = s

if parseStr == '':
- # Modifier like from\after\prior..
+ # Modifier like from/after/prior...
m = self.ptc.CRE_MODIFIER2.search(s)
if m is not None:
self.modifier2Flag = True

Oleg.
--
Oleg Broytmann http://phd.webhost.ru/ oleg.br...@gmail.com
Programmers don't die, they just GOSUB without RETURN.

bear

unread,
Apr 22, 2009, 7:37:04 PM4/22/09
to parsedat...@googlegroups.com
thanks for the patch, i'll make that change
--
---
Bear

be...@seesmic.com (work)
be...@code-bear.com (jabber & email)
http://code-bear.com/bearlog (weblog)

PGP Fingerprint = 9996 719F 973D B11B E111 D770 9331 E822 40B3 CD29
Reply all
Reply to author
Forward
0 new messages