HP3000-L Archives

February 2004, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Vance, Jeff H (Cupertino)" <[log in to unmask]>
Reply To:
Vance, Jeff H (Cupertino)
Date:
Tue, 17 Feb 2004 10:35:20 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (25 lines)
> I want to search list all the files of the format "XAAAAAnn" 
> in a group where
> X=Character X, 
> A=Any Character between [a-z] and
> N=any number between 0-9
> 
> So I used the following command
> LISTFILE X[A-Z][A-Z][A-Z][A-Z][A-Z][0-9][0-9]."GROUP-NAME"

This appears to be a defect in the LISTF[ILE] code. I eliminated our 
pattern matching code via the following test:

:calc pmatch("X[A-Z][A-Z][A-Z][A-Z][A-Z][0-9][0-9]","XABCDE12")

which returned TRUE. The PMATCH function directly invokes the same
pattern matching code used by LISTF[ILE]. So hopefully, SHOWVAR, 
DELETEVAR, STORE, RESTORE, which also call the same pattern matching 
code, don't have the this problem.

regards,
 Jeff Vance, vCSY

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2