I posted earlier a question regarding XOR in perl strings ...
To help make clear the context of XOR here, could you please post a link to the prior (and possibly related) thread?
... I have a string of the type "hello %f.2f world". I want to xor everything but any regex that seems like [\%0-9a-z\.\ \=]. So in this case "hello" and "world" shoul be "xored" but not the rest.
I don't understand this. Do you want to do some string-xor operation(s) on some parts of the string that do not match the [\%0-9a-z\.\ \=] character class? In that case, I can't see any character that doesn't match; the entire string matches, including 'hello' and 'world'.
If you have two parts of a string and you xor them together, what's supposed to happen to the result? WRT string-xoring, if you have two unequal-length strings to xor, what is supposed to happen? (I'm sure I have other areas of misunderstanding.)
Update: Oh, wait... Maybe I should have read Newest Nodes bottom-to-top instead of vice-versa. Does this pertain to Encrypt/decrypt string in C and Perl?
Give a man a fish: <%-{-{-{-<
In reply to Re: Partial Xor in string
by AnomalousMonk
in thread Partial Xor in string
by kepler
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |