EmEditor (text editor) Forum Index Regular Expressions
Colon is causing me a problem in my "Find" request using regular expressions. | Register To Post |
| Threaded | Newest First | Previous Topic | Next Topic | Bottom |
| Poster | Thread |
|---|---|
| sbubendorf | Posted on: 10/3/2007 1:05 pm |
Just popping in ![]() ![]() Joined: 4/6/2007 From: Fargo, North Dakota, USA Posts: 10 |
Colon is causing me a problem in my "Find" request using regular expressions. \) ;defun [[:alnum:]]* works to select the phrases below
) ;defun CDIMSCALEMNU ) ;defun DRAWBEAM but if I want to select ) ;defun C:DIMSCALEMNU how would I need to modify my search request? (The colon seems to be a problem). Thanks !! |
| sbubendorf | Posted on: 10/5/2007 12:25 pm |
Just popping in ![]() ![]() Joined: 4/6/2007 From: Fargo, North Dakota, USA Posts: 10 |
Re: Colon is causing me a problem in my "Find" request using regular expressions. I found that the following works for both situations where my defun statement has or does not have the C: as part of the statement.
\);defun [[:print:]]* Using the find phrase above, I can use the following replace phrase \0 \n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; to provide separators between multiple Autolisp functions in the same file. |
| Threaded | Newest First | Previous Topic | Next Topic | Top |
| Register To Post | |


