On Wed, May 29, 2013 at 10:20 AM, Matijn Woudt wrote:
> It is possible to write a whole parser as a single regex, being it terribly
> long and complex.
>
While regular expressions are often used in the lexer--the part that scans
the input stream and breaks it up into meaningful tokens like
2013/5/29 Matijn Woudt
>
>
> On Wed, May 29, 2013 at 10:51 PM, Sebastian Krebs wrote:
>
>>
>>
>>
>> 2013/5/29 Matijn Woudt
>>
>>> On Wed, May 29, 2013 at 6:08 PM, Sean Greenslade >> >wrote:
>>>
>>> > On Wed, May 29, 2013 at 9:57 AM, Jonesy wrote:
>>> > > On Tue, 28 May 2013 14:17:06 -0700, Daev
Matijn Woudt wrote:
>On Wed, May 29, 2013 at 10:51 PM, Sebastian Krebs
>wrote:
>
>>
>>
>>
>> 2013/5/29 Matijn Woudt
>>
>>> On Wed, May 29, 2013 at 6:08 PM, Sean Greenslade
>>> >wrote:
>>>
>>> > On Wed, May 29, 2013 at 9:57 AM, Jonesy wrote:
>>> > > On Tue, 28 May 2013 14:17:06 -0700, Daevid V
On Wed, May 29, 2013 at 10:51 PM, Sebastian Krebs wrote:
>
>
>
> 2013/5/29 Matijn Woudt
>
>> On Wed, May 29, 2013 at 6:08 PM, Sean Greenslade > >wrote:
>>
>> > On Wed, May 29, 2013 at 9:57 AM, Jonesy wrote:
>> > > On Tue, 28 May 2013 14:17:06 -0700, Daevid Vincent wrote:
>> > >> I'm adding some
2013/5/29 Matijn Woudt
> On Wed, May 29, 2013 at 6:08 PM, Sean Greenslade >wrote:
>
> > On Wed, May 29, 2013 at 9:57 AM, Jonesy wrote:
> > > On Tue, 28 May 2013 14:17:06 -0700, Daevid Vincent wrote:
> > >> I'm adding some minification to our cache.class.php and am running
> into
> > an
> > >> e
On Wed, May 29, 2013 at 1:33 PM, Matijn Woudt wrote:
>
>
>
> On Wed, May 29, 2013 at 7:27 PM, Sean Greenslade
> wrote:
>>
>> > It is possible to write a whole parser as a single regex, being it
>> > terribly
>> > long and complex.
>> > That said, there's no other simple syntax that would work, fo
On Wed, May 29, 2013 at 7:27 PM, Sean Greenslade wrote:
> > It is possible to write a whole parser as a single regex, being it
> terribly
> > long and complex.
> > That said, there's no other simple syntax that would work, for example in
> > javascript you could to the following:
> > var http = 5;
> It is possible to write a whole parser as a single regex, being it terribly
> long and complex.
> That said, there's no other simple syntax that would work, for example in
> javascript you could to the following:
> var http = 5;
> switch(value) {
> case http:// Http case here! (this whould no
On Wed, May 29, 2013 at 6:08 PM, Sean Greenslade wrote:
> On Wed, May 29, 2013 at 9:57 AM, Jonesy wrote:
> > On Tue, 28 May 2013 14:17:06 -0700, Daevid Vincent wrote:
> >> I'm adding some minification to our cache.class.php and am running into
> an
> >> edge case that is causing me grief.
> >>
>
On Wed, May 29, 2013 at 9:57 AM, Jonesy wrote:
> On Tue, 28 May 2013 14:17:06 -0700, Daevid Vincent wrote:
>> I'm adding some minification to our cache.class.php and am running into an
>> edge case that is causing me grief.
>>
>> I want to remove all comments of the // variety, HOWEVER I don't wan
On Tue, 28 May 2013 14:17:06 -0700, Daevid Vincent wrote:
> I'm adding some minification to our cache.class.php and am running into an
> edge case that is causing me grief.
>
> I want to remove all comments of the // variety, HOWEVER I don't want to
> remove URLs...
KISS.
To make it simple, strai
11 matches
Mail list logo