Jump to content
Ketarin forum

Placeholder escaping


Omniferum
 Share

Recommended Posts

<placeholder name="Please select the file extension type" options="[\.zip|\.rar|\.7z]|[\.exe|\.msi]" />

 

Where the square brackets are is where I REALLY want the "OR" to operate, every other time I just want it to be treated like a literal character. I don't know much about XML (or coding in general) and a quick google didn't really reveal a whole lot to me.

 

It is just part of a template for regex, as you can see it will just simplify "Are you looking for a binary file or an installer?" and I haven't found anything on the forum regarding this.

 

sooo short story is is there a way to escape special characters? I think it is Ketarin and not specifically XML that is... bleh, I dunno. Thought it easier to ask than kill myself over it again.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.