Thread: YAFU 2.0
View Single Post
Old 2021-09-15, 10:41   #231
James Heinrich
James Heinrich's Avatar
"James Heinrich"
May 2004
ex-Northern Ontario

2·1,753 Posts

Originally Posted by bsquared View Post
Regarding the "P" vs. "PRP" labeling... the .log file still generally gets "prp" printed. Which could be fixed, but before I do that I wanted to see if that would break anyone's scripting/parsing?
It wouldn't break anything I do, my regex already looks like ^(prp|p)([0-9]+)( cofactor)? = ([0-9]+)

We already have to handle the different format for small factors: div: found prime factor = 3
Possibly this could be changed to standardize it such that all factors follow the format (p|prp|c)<len> = <factor>
James Heinrich is offline   Reply With Quote