Project

General

Profile

Actions

Bug #7885

closed

Trailing spaces in IF substitution cause substitution to fail

Added by krileon over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
19 March 2020
Due date:
% Done:

100%

Estimated time:

Description

Improve the REGEXP to account for trailing spaces after a condition. This could be an easy mistake to make resulting in existing IF substitutions failing. For example the below would fail.

[cb:if group=~"/10/" ]

Actions

Also available in: Atom PDF