| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Hi- Can anyone tell me what the word whose regexp in gforth.el is "\\S-+ %"? I thought I'd see some (easy) reference to it in the manual, but no such luck... Thanks, Charles |
|
#2
| |||
| |||
| Charles Turner <vze26m98@optonline.net> writes: >Hi- > >Can anyone tell me what the word whose regexp in gforth.el is "\\S-+ >%"? I thought I'd see some (easy) reference to it in the manual, but >no such luck... Looking into the Emacs manual, I see: |`\sC' | matches any character whose syntax is C. Here C is a character | that designates a particular syntax class: thus, `w' for word | constituent, `-' or ` ' for whitespace, `.' for ordinary | punctuation, etc. *Note Syntax::. | |`\SC' | matches any character whose syntax is not C. I.e., this regexp matches any word that ends in a %, e.g., CELL%. - anton -- M. Anton Ertl http://www.complang.tuwien.ac.at/anton/home.html comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html New standard: http://www.forth200x.org/forth200x.html EuroForth 2008: http://www.euroforth.org/ef08.html |
|
#3
| |||
| |||
| On Sep 2, 3:46*pm, an...@mips.complang.tuwien.ac.at (Anton Ertl) wrote: > I.e., this regexp matches any word that ends in a %, e.g., CELL%. Thanks, Anton- Sorry to bother you with this. After ?dup-0=-if, I was trying to read it (mostly) as Forth. Best, Charles |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.