Build, test, and debug regular expressions
Matches a complete line containing only the literal word 'true' or 'false' (case-sensitive), optionally padded with leading or trailing whitespace. This is used to validate X3D SFBool field values, which accept exactly these two keywords. With the global and multiline flags, it can validate every boolean entry across multiple lines in an X3D file.