SG
Size: a a a
SG
AA
SG
AA
SG
AA
SK
I
import reВ принципе, да, получилось только сложнее)
textfile = open("/path/to/file")
for string in textfile
result = re.fullmatch("^secret=/d{3}$", string)
print(string) if result == True
AA
AA
V
V
$ java --version
openjdk 11.0.6 2020-01-14
OpenJDK Runtime Environment 18.9 (build 11.0.6+10)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.6+10, mixed mode, sharing)
AA
V
V
V
V
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=lcd -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel -Dsun.java2d.xrender=true -Djna.nosys=false -Dsun.java2d.uiScale=2 -Dglass.gtk.uiScale=2.0
V
SG