I need help with a Perl regular expression.
The following string blows up my program: <david(greg jim)>
If I type this string, there is no problem: <david(greg_jim)> or type
david(gregjim) or type <david greg jim> the CGI program does not complain.
For some reason that I do not understand the... (1 Reply)
Couldn't find much help on the kind of question I've here:
There is this text file with text as:
Line one has a bingo
Line two does not have a bingo but it has a tango
Bingo is on line three
Line four has both tango and bingo
Now I would want to search for the pattern "bingo" in this file... (3 Replies)
What is the easiest way to get full address of *.jpg images from html file using perl?
example:
http://farm3.static.flickr.com/2397/2126443111_65a810004c.jpg (1 Reply)
Hi everybody
I have some problems with PERL programming.
I have a file with two columns, both with numeric values.
I have to extract the values > 50 from the 2nd columns and sum them among them.
The I have to sum the respective values in the first column on the same line and, at the end, I... (6 Replies)
Hi,
I searched in the forums, but I didn't find a good solution. My problem is:
I have a string like "TEST.ABC201005.MONTHLY.D101010203".
I just want to have the string until the D100430, so that the string should look like: "TEST.ABC201005.MONTHLY.D"
The last characters after the D can be... (8 Replies)
Can Anyone tell me how to extract the second column of a xls sheet
And compare the content of each row of the column with a .h file.
xls sheet is having only one spreadsheet. (2 Replies)
Hi everyone,
i am new to perl programming, i have a problem in extracting single column from csv file. the column is the 20th column,
please help me..
at present i use this code
#!C:/perl/bin
use warnings;
use strict;
my $file1 = $ARGV;
open FILE1, "<$file1"
or die "Can't... (13 Replies)
Hello Gurus
I have a source file which has the first line as header and the rest are the records
I need to extract the first column from the second line to extract a value
I/P
... (7 Replies)
Hi,
I want to extract first column from a file and redirect the output to another file in perl.
I am able to do this from command line by executing below commands.
perl -anle 'print $F' Input.dat > Output.dat
perl -ne '@F = split("\t", $_); print "$F\n";' Input.dat > Output.dat
perl -anE... (7 Replies)
Config::Model::models::Debian::Dpkg::Source::Options(3pmUser Contributed Perl DocumentatiConfig::Model::models::Debian::Dpkg::Source::Options(3pm)NAME
Config::Model::models::Debian::Dpkg::Source::Options - Configuration class Debian::Dpkg::Source::Options
VERSION
version 2.021
DESCRIPTION
Configuration classes used by Config::Model
list of long options that should be automatically prepended to the set of command line options of a dpkg-source -b or dpkg-source
--print-format call. Options like --compression and --compression-level are well suited for this file.
Elements
diff-ignore - perl regexp to filter out files for the diff
perl regular expression to match files you want filtered out of the list of files for the diff.This is very helpful in cutting out
extraneous files that get included in the diff, e.g. if you maintain your source in a revision control system and want to use a checkout to
build a source package without including the additional files and directories that it will usually contain (e.g. CVS, .cvsignore, .svn/).
The default regexp is already very exhaustive, but if you need to replace it, please note that by default it can match any part of a path,
so if you want to match the begin of a filename or only full filenames, you will need to provide the necessary anchors (e.g. '(^|/)',
'($|/)') yourself.Optional. Type uniline.
extend-diff-ignore - Perl regexp to extend the diff-ignore setup
The perl regular expression specified will extend the default regular expression associated to diff-ignore by concatenating "|regexp" to
the default regexp. This option is convenient to exclude some auto-generated files from the automatic patch generation.Optional. Type
uniline.
SEE ALSO
o cme
AUTHOR
Dominique Dumont <domi.dumont@free.fr>
LICENSE
LGPL-2.1
perl v5.14.2 2012-11-09 Config::Model::models::Debian::Dpkg::Source::Options(3pm)