regex - Regular Expression for Benchmark calculations in Python -
i trying write regular expression capture latency of size 1 (i.e. 1.15). using following regular expression: (?!1\s+)([\d.]+)
# osu mpi latency test v4.4.1 # size latency (us) 0 1.11 1 1.15 2 1.14 4 1.14 8 1.14 16 1.16 32 1.18 64 1.22 128 1.31 256 1.83 512 1.95 1024 2.28 2048 2.79 4096 3.20 8192 4.53 16384 6.96 32768 10.17 65536 15.63 131072 26.01 262144 46.70 524288 88.15 1048576 171.87 2097152 339.42 4194304 668.69
i expecting 306 values end 293. not sure if regular expression written incorrectly. size of text file huge (306 tables similar above) , hence trying find simpler way of improving this.
Comments
Post a Comment