CGI/Perl Guide
|
Learning Center
|
Forums
|
Advertise
|
Login
Site Search:
in
Perl Guide
PerlGuru Forums
Learning Ctr
MAIN
INDEX
SEARCH
POSTS
WHO'S
ONLINE
LOG
IN
Home
:
Perl Programming Help
:
Beginner
:
(.*?)
Print Thread
perlwatcher
User
Jul 23, 2009, 12:20 PM
Post #1 of 3 (304 views)
(.*?)
Can't Post
what does this regular expression translate to ?
can anyone help please ?
KevinR
Veteran
Jul 23, 2009, 2:09 PM
Post #2 of 3 (301 views)
Re: [perlwatcher] (.*?)
[
In reply to
]
Can't Post
It means to match zero or more of anything as little as possible and store it in pattern memory.
-------------------------------------------------
daryl552007
Novice
Jul 23, 2009, 4:23 PM
Post #3 of 3 (297 views)
Re: [KevinR] (.*?)
[
In reply to
]
Can't Post
To get the result of that you may use $1.
Example:
string = this is it
regex is this (.*?)it
$1= is
Announcements
PerlGuru Announcements
Perl Programming Help
Frequently Asked Questions
Beginner
Intermediate
Advanced
Regular Expressions
mod_perl
DBI
Win32 Programming Help
Fun With Perl
Perl Quizzes - Learn Perl the Fun Way
Perl Golf
Perl Poetry
Need a Custom or Prewritten Perl Program?
I need a program that...
I Need a Programmer for Freelance Work
Throw Down The Gauntlet
General Discussions
General Questions
Feedback
Tutorial/Article Suggestions for The Learning Cent
Internet Security
Other Programming Languages
Javascript
PHP
Search
this forum
this category
all forums
for
All words
Any words
Whole Phrase
(
options
)
Powered by
Gossamer Forum v.1.2.0
Web Applications
&
Managed Hosting
Powered by Gossamer Threads
Visit our
Mailing List Archives