TIP: Click on subject to list as thread! ANSI
echo: qedit
to: DALLAS HINTON
from: JORJ STRUMOLO
date: 1995-12-22 18:04:00
subject: TSE 2.51 pro help

DH> I just got my copy of 2.51, and I've run into a snag.
 There's a TSE 2.51 out?  A patch to 2.50, perhaps?
DH> I'm trying to change the default wordset....
  > The charset I want is
  > WordSet                 = ChrSet(" *-_a-zA-Z0-9")
 The asterisk is a special regular expression character, so it
 may have to be escaped.  The hyphen is a range character, so
 you're then saying "any character from * to _ in normal order".
 Look at normal order, and you see that means *+,-./:;?@[\]^_
 as well as A-Z and 0-9.  Do you really want that?  Also, do
 you really want a space to be considered part of a word?
 That would make TSE consider this whole line a single word.
 If you enter what you have above in your order, TSE boils out
 the duplication and gives you ChrSet(" *-_a-z"), since A-Z
 and 0-9 are already within the * thru _ range.  Presuming all
 you *really* want to do is add the asterisk, you want to do
 ChrSet("*\-0-9A-Z_a-z"), where the backslash overrides the
 range meaning of the hyphen, and the order is conventional.
 If you really want the space, stick it in before the star.
 -- SPEED 2.00 #1019: Only dull people are brilliant at breakfast. * Wilde
--- QScan/PCB v1.17b / 01-0175
---------------
* Origin: Eagle's Nest Comm., Inc Prov, RI 401-621-4600 (1:323/150)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.