{{#if @attr}}
{{#if @attr.options.subText}}

{{@attr.options.subText}} {{#if @attr.options.docLink}} See our documentation for help. {{/if}}

{{/if}}
Validation
{{/if}} {{#if this.showTestValue}}
{{#if @testInputSubText}}

{{@testInputSubText}}

{{/if}} {{#if this.testValue}}
{{#if (not @value)}} {{else if this.regexError}} {{else}}

This test string matches the pattern regex.

{{/if}}
{{/if}}
{{/if}} {{#if @showGroups}}
{{! check with design but should likely show a placeholder if testValue is blank }} {{#if (and @value this.testValue (not this.regexError))}}
{{#each this.captureGroups as |group|}} {{group.position}} {{group.value}} {{/each}}
{{else}}

Enter pattern and test string to show groupings.

{{/if}}
{{/if}}