in reply to trouble with @ in a regular expression
Maybe your input line contains some invisible characters somewhere?perl -E 'say q{@SRR254172.1 ILLUMINA-20A1B2_0004_FC6282EAAXX:6:1:1433: +941 length=160} =~ /^@\S+\s+ILLUMINA\S+:(\d+):(\d+):(\d+):(\d+)\s+length= +160/' 611433941
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: trouble with @ in a regular expression
by AnomalousMonk (Archbishop) on Mar 29, 2012 at 23:26 UTC |