jakubg1 / OpenSMCE

Game engine which allows creating a broad range of marble popper games.
MIT License
14 stars 11 forks source link

LDoc: Allow multiple regex definitions in a regex-keyed object #129

Open jakubg1 opened 3 weeks ago

jakubg1 commented 3 weeks ago

Instead of specifying the Regex pattern in the object definition, specify it as the object name. This makes much more sense. Example:

- stuff (object) - A container for numbers, keyed by name.
  - <<^a.*$>> (number) - A number, which starts with A.
  - <<^.*$>> (number) - A number, which doesn't start with an A.