Issue433

Title roundup exclude "-r[0-9]*" from revision detection
Priority minor Status open
Assigned To Keywords
Linked issues Watchers

Submitted on 2011-08-04 10h43 by matthiaskrgr, last changed by hail.

Messages
Author: matthiaskrgr Date: 2011-08-04   10h43
When posting a certain resolution in a RU ticket ( -r4 for example) RU detects
this a revision 4. Can we prevent auto-linking if there is a hyphen before the r ?
Author: ahuillet Date: 2011-08-04   13h29
Test: -r2 ar2 r3
Author: ahuillet Date: 2011-08-04   13h30
Another test in r12312
Author: ahuillet Date: 2011-08-04   13h32
Fixed by looking for " r[0-9]+" instead of "r[0-9]+"
Author: matthiaskrgr Date: 2011-08-04   14h02
r1234  This doesn't work when the revision is at the beginning of the sentence.
Is this fixable?
Author: ahuillet Date: 2011-08-04   15h26
Not trivially, at least it's not something I know how to do... :)
Author: hail Date: 2011-08-04   17h50
If roundup uses the python re module you can use \s to match all white space 
characters.
http://docs.python.org/library/re.html
Author: ahuillet Date: 2011-08-04   18h39
Nothing isn't a whitespace character.
Author: hail Date: 2011-08-04   18h49
A newline should match the beginning of input. You didn't even try it did you?
History
Date User Action Args
2011-08-04 18:49:25hailsetmessages: + msg1493
2011-08-04 18:39:54ahuilletsetmessages: + msg1489
2011-08-04 17:50:54hailsetmessages: + msg1488
2011-08-04 15:26:33ahuilletsetmessages: + msg1486
2011-08-04 14:02:48matthiaskrgrsetstatus: resolved -> open
messages: + msg1484
2011-08-04 13:32:41ahuilletsetstatus: open -> resolved
messages: + msg1479
2011-08-04 13:30:13ahuilletsetmessages: + msg1477
2011-08-04 13:29:58ahuilletsetmessages: + msg1475
2011-08-04 10:43:28matthiaskrgrcreate