Forum Discussion
Kris_Kelley_107
Nimbostratus
May 18, 2005Regular expressions and control characters.
Simply put, I'm trying to use matches_regex to locate a string that will be terminated with a control character, <0x0d> (the carriage return) to be precise.
I've tried using "\r", "[:ctrl:]", and even putting "<0x0d>" within the expression. None of that has worked. What can I add to my regex so that the carriage return, or at least a class of characters that contains the carriage return, will be looked for?
Thanks!
- Kris_Kelley_107
Nimbostratus
Never mind, I found a way around it by running matches_regex on the output from the findstr() function. Thanks! - Deb_Allen_18Historic F5 AccountYou might want to try these:
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects