
dpavlenkov
New User
Dec 5, 2003, 11:24 AM
Post #3 of 9
(24792 views)
|
Re: [KevinR] Alternative to alternation with |
[In reply to]
|
Can't Post
|
|
quotemeta would probably work, but config file is not in perl, it's simply a hash with | separators. like this: key1|value1 key2|value2 so you see if a value (for instance a regex) contains a | character, it will be cut off at that character by the parser. but there, I answered my own question, if I put a limit of 2 in split, that won't be a problem anymore, because it will only split once.
|