• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 2.0 Structure match field empty string?

Liam W

Well-known member
#1
Is there a way to make the Entity system allow an empty string when using the regex match key, or do I have to embed it into the regex?

Liam
 

Chris D

XenForo developer
Staff member
#2
You'd have to embed it into the regex. Usually flipping from a required to a non required match is just changing the quantifier from + to *.