Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
issue implementing the following in a .pyl file
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
SocraticD@gmail.com  
View profile  
 More options Feb 8 2008, 2:46 pm
From: "Socrat...@gmail.com" <Socrat...@gmail.com>
Date: Fri, 8 Feb 2008 11:46:40 -0800 (PST)
Local: Fri, Feb 8 2008 2:46 pm
Subject: issue implementing the following in a .pyl file
I'm parsing IIS logs and am having a hell of a time getting a regex
that will work for the page portion of the file.

given something like :  2007-02-09 23:59:59 GET /ABC.aspx or
2007-02-09 23:59:59 GET /Search/Styles/XYZ.css

i need to match on the blah.aspx, blah/blah.css, etc.. portion of the
line.

a regex that will do this fine in a general fashion is /[A-Za-z0-9]+(/
[A-Za-z0-9]+)*\.[A-Za-z0-9]+

however, the closest approximation i can get into a pylly spec file
is: "/[[:alnum:]]+(/[[:alnum:]]+)+\.[[:alnum:]]+" : return "PAGE"

This seems to puke when i try to run getparser on the pyl file that
contains it.

i've tried several variations on this, and cant get anything to work
the way the standard regex does.  any ideas?

also, it doesn't look like i can use some other standard regex
constructs such as \d.  Am i missing something or are some of those
just not implemented?

Thanks in advance,
-Devin


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google