2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2026-01-18 23:22:56 +00:00

postition != GPS in survex

This commit is contained in:
2025-12-18 12:07:25 +00:00
parent 9392d4a2d9
commit 484698e565

View File

@@ -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