Difference between revisions of "WDSC Find Tips"
From MidrangeWiki
(New page: === To find camel case words. === # Open find with Ctrl-F # Key in "([a-z]|[A-Z])[a-z]+[A-Z]+[a-z]+(\W|\b)" into the <u>F</u>ind box (Alt-F) # <u>C</u>hoose case sensitive (Alt-C) # Wh<u>o...) |
(→To find camel case words.) |
||
Line 1: | Line 1: | ||
=== To find camel case words. === | === To find camel case words. === | ||
# Open find with Ctrl-F | # Open find with Ctrl-F | ||
− | # Key in "([a-z]|[A-Z])[a-z]+[A-Z]+[a-z]+(\W|\b)" into the <u>F</u>ind box (Alt-F) | + | # Key in "([a-z]|[A-Z])[a-z]+[A-Z]+[a-z]+(\W|\b)" (without the quotes) into the <u>F</u>ind box (Alt-F) |
# <u>C</u>hoose case sensitive (Alt-C) | # <u>C</u>hoose case sensitive (Alt-C) | ||
# Wh<u>o</u>le word (Alt-O) | # Wh<u>o</u>le word (Alt-O) |
Revision as of 19:35, 24 May 2007
To find camel case words.
- Open find with Ctrl-F
- Key in "([a-z]|[A-Z])[a-z]+[A-Z]+[a-z]+(\W|\b)" (without the quotes) into the Find box (Alt-F)
- Choose case sensitive (Alt-C)
- Whole word (Alt-O)
- Regular expression (Alt-X)
The regular expression is boken down like this
- ([a-z]|[A-Z])
- - Find the first character that is either upper or lower case.
- [a-z]+
- - Find at least one to many characters that are lower case only.
- [A-Z]+
- - Find at least one to many characters that are upper case only.
- [a-z]+
- - Find at least one to many characters that are lower case only.
- (\W|\b)
- - Find any character that is not a word character or is the end of line.