﻿ticket,summary,type,release,owner,status,created,modified,_description,_reporter
6848,RegEx aren't handled well,defect,0.11,Richard Liao,new,2010-03-23T14:59:48+01:00,2018-04-07T22:27:44+02:00,"Hi!
I'm having issue to define a proper regex to handle my description field with this plugin. 

The Description field should look like this:

---- Description START -------
''== '''GOALS''' ==[[BR]]
Some Goals could be written here. [[BR]]
They could have some enumerations:[[BR]]
1. Number one
2. Number two
...
n. Number N

<end of goals>

Here could be some more text''

---- Description END -------
after this block could be another block, or just empty.

I defined a regex and configured the plugin:
{{{#!ini
[components]
ticketvalidator.* = enabled

[ticketvalidator]
validates = description
description.rule = ^== '''GOALS''' ==[\n\r]*[.\r\n\s]*<end of goals>[\n\r]*[.\r\n]*
description.tip = Sections: Goals, Necessary input, Necessary output and Necessary resources have to exist.
}}}
If I am testing without any text in between the ""Goals-Tags"" it seems to be alright, as soon, as I am adding some text, I am getting my own tip:
Sections: Goals, Necessary input, Necessary output and Necessary resources have to exist.

I tried to debug it and it seems, that re.py throughs Expected EOF Expression. ",dimitri.slavutsky@…
