[Aeditor-talk] Regexp assertions
Simon Strandgaard
neoneye at adslhome.dk
Wed Dec 24 10:44:11 EST 2003
On Wed, 2003-12-24 at 11:02, Mark wrote:
> On Wednesday 24 Dec 2003 9:56 am, Simon Strandgaard wrote:
> > > I've started working on parsing the different types of code block. I've
> > > added a test creating a regexp that matches a number that is up to 3
> > > digits long then uses a code assertion to check that the number is less
> > > than 256.
> >
> > Why is there a max limit of 256 ? I think I have misunderstood
> > something.
>
> well it's just an example of using a code assertion. If you wanted to extract
> a number between 0 and 256 from a string then this is one way to do it.
Using old perl5 syntax then it becomes a huge expression.
Using a code-hook simplifies things I see..
I have to turn off my computer now and switch to christmas-mode.
see you in the next year when all these christmas parties are finished.
Have a nice evening.
--
Simon Strandgaard
More information about the Aeditor-talk
mailing list