Re: Bible Reference e.g. Luke 1.68-79
2018/01/20 09:37:12
(permalink)
Hello John,
Please modify your RegEx expressions, as the dot (and maybe -) havs special meaning in RegEx, if not "quoted" with \
(\d+)\s*\.\s*(\d+)\-\s*(\d+)
and your second pattern:
(\d+)\s*\.\s*(\d+)
Otherwise the dot in the 2nd pattern actually matches any character (6 in your example) and removes it. I tested my small modification, both work and spoke as you wanted.