ppix::regexp::structure::capture(3) [centos man page]
PPIx::Regexp::Structure::Capture(3) User Contributed Perl Documentation PPIx::Regexp::Structure::Capture(3)NAME
PPIx::Regexp::Structure::Capture - Represent capture parentheses.
SYNOPSIS
use PPIx::Regexp::Dumper;
PPIx::Regexp::Dumper->new( 'qr{(foo)}smx' )
->print();
INHERITANCE
"PPIx::Regexp::Structure::Capture" is a PPIx::Regexp::Structure.
"PPIx::Regexp::Structure::Capture" is the parent of PPIx::Regexp::Structure::NamedCapture.
DESCRIPTION
This class represents capture parentheses.
METHODS
This class provides the following public methods. Methods not documented here are private, and unsupported in the sense that the author
reserves the right to change or remove them without notice.
name
my $name = $element->name();
This method returns the name of the capture buffer. Unless the buffer is actually named, this will be "undef".
number
my $number = $element->number()
This method returns the number of the capture buffer. Note that named buffers have numbers also.
SUPPORT
Support is by the author. Please file bug reports at <http://rt.cpan.org>, or in electronic mail to the author.
AUTHOR
Thomas R. Wyant, III wyant at cpan dot org
COPYRIGHT AND LICENSE
Copyright (C) 2009-2013 by Thomas R. Wyant, III
This program is free software; you can redistribute it and/or modify it under the same terms as Perl 5.10.0. For more details, see the full
text of the licenses in the directory LICENSES.
This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of
merchantability or fitness for a particular purpose.
perl v5.16.3 2014-06-10 PPIx::Regexp::Structure::Capture(3)
Check Out this Related Man Page
PPIx::Regexp::Structure::NamedCapture(3pm) User Contributed Perl Documentation PPIx::Regexp::Structure::NamedCapture(3pm)NAME
PPIx::Regexp::Structure::NamedCapture - Represent a named capture
SYNOPSIS
use PPIx::Regexp::Dumper;
PPIx::Regexp::Dumper->new( 'qr{(?<foo>foo)}smx' )
->print();
INHERITANCE
"PPIx::Regexp::Structure::NamedCapture" is a PPIx::Regexp::Structure::Capture.
"PPIx::Regexp::Structure::NamedCapture" has no descendants.
DESCRIPTION
This class represents a named capture. Its content will be something like one of the following:
(?<NAME> ... )
(?'NAME' ... )
(?P<NAME> ... )
METHODS
This class provides the following public methods. Methods not documented here are private, and unsupported in the sense that the author
reserves the right to change or remove them without notice.
name
my $name = $element->name();
This method returns the name of the capture.
SUPPORT
Support is by the author. Please file bug reports at <http://rt.cpan.org>, or in electronic mail to the author.
AUTHOR
Thomas R. Wyant, III wyant at cpan dot org
COPYRIGHT AND LICENSE
Copyright (C) 2009-2012 by Thomas R. Wyant, III
This program is free software; you can redistribute it and/or modify it under the same terms as Perl 5.10.0. For more details, see the full
text of the licenses in the directory LICENSES.
This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of
merchantability or fitness for a particular purpose.
perl v5.14.2 2012-06-06 PPIx::Regexp::Structure::NamedCapture(3pm)
hello
I need for a script to capture the ip address from the connected user.
I have 5 logical partitions.
With "who", i have the ip adress, but only for 2 servers.
Do you know another command to know the ip address of connected clients ?
thank you (14 Replies)
i have a file with contents
test123
qwwww
sdsad
asdasd
asdad
adadsw
sasfar
sfaf
a
afasf
OPERATION END
i need to grep all the contents from test123 and OPERATION END.Can somebody help me how to do it ? (7 Replies)
I would like to capture output from two commands to a test file on the same line...
I want to get a file with all Applications and the Version of it...here are the two commands I use to get the output.
To get Application list I use
ls -1 /Applications/ |grep .app >>... (3 Replies)
Hi Guyz,
I need to capture first N Bytes from the first line of my file.
Eg. If i have following data in File1
414d51204541495052475731202020204a910846230e420c Hello 3621363663212 Help Required
Then, i want the value of first 48 Bytes to be stored in a variable.
That is, variable... (5 Replies)
Hi ..
I have a list of filenames in a particular file. All thse files get generated in the same directory. No w i want to find out which of thse got generated last and capture that time .
Have written a while loop but seems getting struck ...
while read line
do
if
then
rvst_capt_time=... (7 Replies)
Hi guys,
I am inserting and updating records in Oracle database using shell Script based on business logic.
Now Whenever the insert or Update fails, i want to capture it.
i tried to capture the return code ($?), but it is not reflecting it.... (3 Replies)
Hi all,
I am using command
find $InputPath -type f -mtime +30
However, I need to capture the file listed in screen.
May I know how to achieve this?
Thank you. (12 Replies)
Is there any way to trigger a sequence of commands in parallel and capture their output in variables? e.g. something on the following lines
x=`echo "X" &`
y=`echo "Y" &`
z=`echo "Z" &`
so that $x, $y, and $z evaluate to X, Y and Z res. (7 Replies)
Hi
I am having hard time getting this right and need some help. I Have 3 files, and everyone contains the following:-
File1
Today, we have Name(Jack) Age(19) Class (A2)
Today, we have Name(Kim) Class (G9)
File2
Today, we have Name(Lee) Age(19) Class (A2)
Today, we have... (8 Replies)
How to remove first pair of parentheses and content in them from the beginning of the line?
Here's the list:
(ok)-test
(ok)-test-(ing)
(some)-test-(ing)-test
test-(ing)
Desired result:
test
test-(ing)
test-(ing)-test
test-(ing)
Here's what I already tried with GNU sed:
sed -e... (6 Replies)
Hi,
Recently i have write a simple script to capture CPU high usage based on prstat but i found out that it did capture correctly. I need to capture the rows that contains CPU usage more than 3%. Below line which i thought will capture CPU usage based CPU column in prstat(9th parameter) which is... (3 Replies)
Hi Team. I am trying to capture the last record number from a file using the below command ( assuming abc.txt has 21 records and I want 21 as output )
awk'{c=NR;print c}'abc.txt
But it is printing all the record number. Can someone please help modify the above command? (8 Replies)
I have a program that scans and updates its results to std out every second. I would like to capture its output for further processing, but there is a catch. I would like to capture a snapshot after about 15 seconds as the results become more accurate and close the program.
Obviously I can simply... (4 Replies)