diff --git a/parsers/survex.py b/parsers/survex.py index 7cd430d..46f4e7b 100644 --- a/parsers/survex.py +++ b/parsers/survex.py @@ -275,11 +275,12 @@ class LoadingSurvex: # this extensive list of expo roles are now (after 24/2/2025) just comments and not legal survex code. # all now irrelevant as Olly restricted the list and survex now notices this. - # but troggle still complains, and can fail to recognise a person, if the role is not in this list: + # but troggle still complains, and can fail to recognise a person, if the role is not in this list. + # 'position' added to match survex 1.4.17 in 2025 roles = "(assistant|bitch|bodger|bolt|bolter|bolting|book|clino|comp|compass|consultant|disto|distox|distox2|" roles += "dog|dogsbody|drawing|drill|gps|helper|inst|instr|instrument|length|monkey|nagging|nail|" roles += "nail_polish|nail_polish_bitch|nail_polish_monkey|nail_varnish|nail_varnish_bitch|note|notebook|" - roles += "paint|photo|pic|pictures|point|polish|powerdrill|rig|rigger|rigging|SAP|shoot|sketch|slacker|explorer|" + roles += "paint|photo|pic|pictures|point|polish|position|powerdrill|rig|rigger|rigging|SAP|shoot|sketch|slacker|explorer|" roles += "something|station|surface|tape|topodroid|unknown|useless|varnish|waiting_patiently)" #rx_teammem = re.compile(r"(?i)" + roles + r"?(?:es|s)?\s+(.*)$") no longer legal survex ordering