No. Your "%SP;" will be interpreted as trying to match the characters "%", "S", "P", ";".
Per section 19 of the DFDL spec, DFDL Character Entities are not interpreted by DFDL processors inside DFDL Regular Expressions. https://opengridforum.github.io/DFDL/current/gwdrp-dfdl-v1.0.8-GFD-R-P.240.htm On Wed, Jul 20, 2022 at 8:50 AM Roger L Costello <coste...@mitre.org> wrote: > Hi Folks, > > I have a regex with a value containing a string: > > dfdl:lengthPattern="YOUR EYES ONLY|DRILL|BLUE"/> > > Do the spaces in YOUR EYES ONLY need to be changed to %SP;? I.e., > > dfdl:lengthPattern="YOUR%SP;EYES%SP;ONLY|DRILL|BLUE"/> > > /Roger > >