Quote:
Originally Posted by Perkin
I've added to the detect chapters regex
re:test(., '\d|\d\d',i)
and that does split the chapters correctly, however it also splits on any paragraph with a single or double digit.
|
Try adding "^" for start of a line and "$" for end of a line. I would use ("+" matches one or more instances):
Code:
re:test(.,'^\d+$',i)