in reply to Re^6: YAML::XS perl/regexp (?u:(?u:
in thread YAML::XS perl/regexp (?u:(?u:

oic what you mean. When serializing, if there are no flags, use the current syntax, but exclude the wrapping (?:...).