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.
In reply to Re^2: Help please?
by Guigou
in thread Help please?
by Guigou
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |