Omniferum Posted November 5, 2010 Report Share Posted November 5, 2010 <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 More sharing options...
floele Posted November 5, 2010 Report Share Posted November 5, 2010 Huh? What special characters? The only special char is "|" to separate the options. Link to comment Share on other sites More sharing options...
Omniferum Posted November 5, 2010 Author Report Share Posted November 5, 2010 Clarification \.zip|\.rar|\.7z is option 1, pure text entry \.exe|\.msi is option 2, pure text entry Link to comment Share on other sites More sharing options...
floele Posted November 5, 2010 Report Share Posted November 5, 2010 I see. Well, that's not possible. I have no intentions of implementing a parser for that option. Link to comment Share on other sites More sharing options...
Omniferum Posted November 5, 2010 Author Report Share Posted November 5, 2010 Fair enough, I get random bouts of exploring Ketarin is all and it is nice to know the limitations, if any. Just hard to find out on my own if it is a limit of Ketarin or a limit of my knowledge, I tend to assume it is my fault rather than anybody else. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now