Characters by code

Top  Previous  Next

Scripts > Token definitions > Regular expressions > Characters by code

 

This is an extension to the algorithm that is not available in other libraries than that of Dr. Maddock. It consists of the escape character followed by the digit "0" followed by the octal character code. For example "\023" represents the character whose octal code is 23. Where ambiguity could occur use parentheses to break the expression up: "\0103" represents the character whose code is 103, "(\010)3 represents the character 10 followed by "3". To match characters by their hexadecimal code, use \x followed by a string of hexadecimal digits, optionally enclosed inside {}, for example \xf0.

 

 



This page belongs to the TextTransformer Documentation

Home  Content  German