in reply to Re: Help please?
in thread Help please?
So I tried :
perl -ne "print qq/$1 $2 $3\n/ if (/Turn.*?speaker=(\S+)\s+startTime=(+\S+)\s+endTime=(\S+)/)" input_file > toto.xxxAnd it tells me :
c:\>perl -ne "print qq/$1 $2 $3\n/ if (/Turn.*?speaker=(\S+)\s+startTi +me=(+\S+)\ s+endTime=(\S+)/)" C1_A1_1a.trs > toto.xxx Quantifier follows nothing in regex; marked by <-- HERE in m/Turn.*?sp +eaker=(\S+ )\s+startTime=(+ <-- HERE \S+)\s+endTime=(\S+)/ at -e line 1.
The file toto.xxx is created, but empty. I hardly understand what I am doing but I am in an effort to.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Help please?
by QM (Parson) on May 30, 2014 at 10:19 UTC | |
by Guigou (Initiate) on May 30, 2014 at 10:30 UTC | |
by Anonymous Monk on May 30, 2014 at 10:46 UTC | |
|
Re^3: Help please?
by choroba (Cardinal) on May 30, 2014 at 10:18 UTC |