All of lore.kernel.org
 help / color / mirror / Atom feed
* IDENTIFIER
@ 2002-07-26  3:21 Brian May
  2002-07-26 10:22 ` IDENTIFIER Russell Coker
  0 siblings, 1 reply; 4+ messages in thread
From: Brian May @ 2002-07-26  3:21 UTC (permalink / raw)
  To: NSA Selinux Mailinglist

Is it possible to relax the definition of IDENTIFIER:

{letter}({letter}|{digit}|_)*   { return(IDENTIFIER); }

?

For the work I am doing, I need a way to seperate words
and phrases seperately.

For instance dpkg_postinst/oav_update.

Any one symbol would be OK, but suggested ones include ~!@%&-=/

(or all of them, but I haven't considered if this will cause problems
elsewhere; for instance : probably should not be used, it is used in
allow statements).
-- 
Brian May <bam@snoopy.apana.org.au>

--
You have received this message because you are subscribed to the selinux list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: IDENTIFIER
  2002-07-26  3:21 IDENTIFIER Brian May
@ 2002-07-26 10:22 ` Russell Coker
  2002-07-27  3:09   ` IDENTIFIER Brian May
  0 siblings, 1 reply; 4+ messages in thread
From: Russell Coker @ 2002-07-26 10:22 UTC (permalink / raw)
  To: Brian May, NSA Selinux Mailinglist

On Fri, 26 Jul 2002 05:21, Brian May wrote:
> Is it possible to relax the definition of IDENTIFIER:
>
> {letter}({letter}|{digit}|_)*   { return(IDENTIFIER); }
>
> Any one symbol would be OK, but suggested ones include ~!@%&-=/

~ is already taken to mean a logical not.


--
You have received this message because you are subscribed to the selinux list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: IDENTIFIER
  2002-07-26 10:22 ` IDENTIFIER Russell Coker
@ 2002-07-27  3:09   ` Brian May
  2002-07-28  8:12     ` IDENTIFIER Brian May
  0 siblings, 1 reply; 4+ messages in thread
From: Brian May @ 2002-07-27  3:09 UTC (permalink / raw)
  To: Russell Coker; +Cc: NSA Selinux Mailinglist

On Fri, Jul 26, 2002 at 12:22:25PM +0200, Russell Coker wrote:
> On Fri, 26 Jul 2002 05:21, Brian May wrote:
> > Is it possible to relax the definition of IDENTIFIER:
> >
> > {letter}({letter}|{digit}|_)*   { return(IDENTIFIER); }
> >
> > Any one symbol would be OK, but suggested ones include ~!@%&-=/
> 
> ~ is already taken to mean a logical not.

Good point.

Better make that list: !@%&-=/
-- 
Brian May <bam@snoopy.apana.org.au>

--
You have received this message because you are subscribed to the selinux list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: IDENTIFIER
  2002-07-27  3:09   ` IDENTIFIER Brian May
@ 2002-07-28  8:12     ` Brian May
  0 siblings, 0 replies; 4+ messages in thread
From: Brian May @ 2002-07-28  8:12 UTC (permalink / raw)
  To: Russell Coker; +Cc: NSA Selinux Mailinglist

On Sat, Jul 27, 2002 at 01:09:22PM +1000, Brian May wrote:
> Better make that list: !@%&-=/

Second thoughts: None of those characters can appear in M4 macro names,
so maybe this isn't such a good idea...

In fact the current definition seems to be the same as the definition
for M4 names.

Even if I just used this other character in type names, there is the
risk that M4 will get confused and expand the wrong thing.

For now I will simply use the (perhaps more ugly looking) '__' instead.
-- 
Brian May <bam@snoopy.apana.org.au>

--
You have received this message because you are subscribed to the selinux list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-07-28  8:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-26  3:21 IDENTIFIER Brian May
2002-07-26 10:22 ` IDENTIFIER Russell Coker
2002-07-27  3:09   ` IDENTIFIER Brian May
2002-07-28  8:12     ` IDENTIFIER Brian May

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.