genuslist.py 893 Bytes
Newer Older
1 2

# This file defines the genera accepted by lifelib. Earlier genera take
3
# precedence over later genera, so (for example) the rule b38s23 belongs
4 5 6
# to the genus 'lifelike' rather than 'isotropic'.

genus_list = []
7
genus_list.append({'name': 'b3s23life', 'regex': 'b3s23'})
8 9
genus_list.append({'name': 'lifelike', 'regex': 'b0?1?2?3?4?5?6?7?8?s0?1?2?3?4?5?6?7?8?'})
genus_list.append({'name': 'generations', 'regex': 'g[1-9][0-9]*b1?2?3?4?5?6?7?8?s0?1?2?3?4?5?6?7?8?'})
10
genus_list.append({'name': 'isotropic', 'regex': 'b[1-9ceaiknjqrytwz-]*s[0-9ceaiknjqrytwz-]*'})
11
genus_list.append({'name': 'ltl', 'regex': 'r[234567]b[1-9][0-9]*t[1-9][0-9]*s[1-9][0-9]*t[1-9][0-9]*'})
Adam P. Goucher's avatar
Adam P. Goucher committed
12
genus_list.append({'name': 'gltl', 'regex': 'g[1-9][0-9]*r[234567]b[1-9][0-9]*t[1-9][0-9]*s[1-9][0-9]*t[1-9][0-9]*'})
Adam P. Goucher's avatar
Adam P. Goucher committed
13
genus_list.append({'name': 'isogeny', 'regex': 'g[1-9][0-9]*b[1-9ceaiknjqrytwz-]*s[0-9ceaiknjqrytwz-]*'})