Precedence Rules for '$' and '^'

jamin.hanson@googlemail.com
Wed, 12 Sep 2007 07:16:46 -0700

          From comp.compilers

Related articles
Precedence Rules for '$' and '^' jamin.hanson@googlemail.com (2007-09-12)
Re: Precedence Rules for '$' and '^' jo@durchholz.org (Joachim Durchholz) (2007-09-13)
Re: Precedence Rules for '$' and '^' jo@durchholz.org (Joachim Durchholz) (2007-09-13)
Re: Precedence Rules for '$' and '^' jamin.hanson@googlemail.com (2007-09-14)
Re: Precedence Rules for '$' and '^' rsc@swtch.com (Russ Cox) (2007-09-14)
Re: Precedence Rules for '$' and '^' jo@durchholz.org (Joachim Durchholz) (2007-09-15)
Re: Precedence Rules for '$' and '^' cfc@shell01.TheWorld.com (Chris F Clark) (2007-09-17)
[1 later articles]
| List of all articles for this month |
From: jamin.hanson@googlemail.com
Newsgroups: comp.compilers
Date: Wed, 12 Sep 2007 07:16:46 -0700
Organization: Compilers Central
Keywords: lex, question
Posted-Date: 13 Sep 2007 01:01:19 EDT

Hi there,


I am author of lexertl (http://www.benhanson.net/lexertl.html), a
lexer generator library, and I have recently added support for '^' and
'$'. As position matching in regex is not described in any books I
have looked at, does anyone know what the precedence rules should be?
If an earlier rule starts with '$', does that mean that a subsequent
rule starting with '^' has the '^' ignored?


Thanks,


Ben Hanson


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.