11.07.2015 Views

CrossWorks for ARM User Guide

CrossWorks for ARM User Guide

CrossWorks for ARM User Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Characters\r Match ASCII carriage return character.\t Match ASCII horizontal tab character.\v Match ASCII vertical tab character.\xhhhhMatch Unicode character specified by hexadecimal number hhhh.. Match any character.* Match zero or more occurrences of the preceding expression.+ Match one or more occurrences of the preceding expression.? Match zero or one occurrences of the preceding expression.{n}{n,}{,m}{n,m}^MeaningMatch n occurrences of the preceding expression.Match at least n occurrences of the preceding expression.Match at most m occurrences of the preceding expression.Match at least n and at most m occurrences of the precedingexpression.Beginning of line.$ End of line.\b Word boundary.\B Non-word boundary.(e) Capture expression e.\n Backreference to nth captured text.ExamplesThe following regular expressions can be used with the editor's search and replaceoperations. To use the regular expression mode the Use regular expression check boxmust be set in the search and replace dialog. Once enabled, the regular expressions canbe used in the Find what search string. The Replace with strings can use the "\n"backreference string to reference any captured strings."Find what"Stringu\w.d^.*;$(typedef.+\s+)(\S+);"Replacewith" String\1TEST_\2;DescriptionSearch <strong>for</strong> any length string containing one ormore word characters beginning with thecharacter ‘u’ and ending in the character ‘d’.Search <strong>for</strong> any lines ending in a semicolon.Find C type definition and insert the string“TEST” onto the beginning of the type name.84 Chapter 8 Basic editing

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!