Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
How to match up to a word
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
 
jjasonclark@spamless.gmai l.com  
View profile  
 More options Mar 23 2005, 3:51 am
Newsgroups: comp.lang.perl
From: "jjasoncl...@spamless.gmail.com" <jjasoncl...@gmail.com>
Date: 23 Mar 2005 00:51:30 -0800
Local: Wed, Mar 23 2005 3:51 am
Subject: How to match up to a word
I'm writing a program that processes a log file.  I need to search for
everything up to a single word.  I'm currently doing it with a positive
look ahead but I'm not sure if this is the most efficient way to do it.
 Anyone have any ideas on how to improve this?

Ex. string - blah blah foo bar blah end
currently use - ^([\w ]+)(?=end)end

Thanks,
Jason


 
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 « Newer topic     Older topic »