Modifed pattern_checkboxes regular expression to allow for case where there is no space before the pipe character in the Lookbehind and Lookahead expressions, and do lazy expansion of the label capture group to avoid picking up a space a the end of a label.
Created test case to verify correct handling when a checkbox option has a leading space.
fixes #495
Modifed pattern_checkboxes regular expression to allow for case where there is no space before the pipe character in the Lookbehind and Lookahead expressions, and do lazy expansion of the label capture group to avoid picking up a space a the end of a label.
Created test case to verify correct handling when a checkbox option has a leading space.