Skip to content

Commit d5a8c4c

Browse files
committed
makeseeds: Update user agent regex
Update the user agent regex to match all 3 digits of the version number, not just the first 2 digits. Also updates it to include 24.2, 25.2, 26.1, 27.0, 27.1, 27.99, 28.0 and 28.99.
1 parent 0a379a1 commit d5a8c4c

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

contrib/seeds/makeseeds.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,13 @@
4141
r"0.19.(0|1|2|99)|"
4242
r"0.20.(0|1|2|99)|"
4343
r"0.21.(0|1|2|99)|"
44-
r"22.(0|1|99)|"
45-
r"23.(0|1|99)|"
46-
r"24.(0|1|99)|"
47-
r"25.(0|1|99)|"
48-
r"26.(0|99)|"
44+
r"22.(0|1|99).0|"
45+
r"23.(0|1|99).0|"
46+
r"24.(0|1|2|99).(0|1)|"
47+
r"25.(0|1|2|99).0|"
48+
r"26.(0|1|99).0|"
49+
r"27.(0|1|99).0|"
50+
r"28.(0|99).0|"
4951
r")")
5052

5153
def parseline(line: str) -> Union[dict, None]:

0 commit comments

Comments
 (0)