DBE 897 and G2Glink template

+5 votes
60 views

Mildenhall-49 shows DBE 897 with the reported error as

invalid format: ^\d{1,7}(/.*): Numbered parameter: 1 (Post number)
{{G2GLink|126584}}

The generated link works and appears valid according to the template page, where a plain number is acceptable as the parameter, but the regex given won't match that. The post-number part is optional so the regex may need to be something like \d{1,7}(/.*){0,1} or (if the slash needs escaping) \d{1,7}(\/.*){0,1}.

in WikiTree Tech by Andrew Millard G2G6 Pilot (124k points)

Or for a more robust check

^\d{1,7}(/|$)

Please log in or register to answer this question.

Related questions

+11 votes
1 answer
+5 votes
1 answer
211 views asked Jul 25, 2023 in WikiTree Tech by Eric Vavra G2G6 Mach 3 (37.5k points)
+3 votes
0 answers
170 views asked Apr 5, 2023 in WikiTree Tech by BJ Secrest G2G4 (4.6k points)
+11 votes
1 answer
306 views asked Oct 21, 2023 in WikiTree Tech by Danielle Liard G2G6 Pilot (676k points)
+1 vote
0 answers
176 views asked May 23, 2023 in WikiTree Tech by Stephanie Ward G2G6 Pilot (119k points)
+8 votes
2 answers
210 views asked Sep 30, 2021 in Genealogy Help by Liz Shifflett G2G6 Pilot (640k points)

WikiTree  ~  About  ~  Help Help  ~  Search Person Search  ~  Surname:

disclaimer - terms - copyright

...