vatis-project / vatis

Virtual Automated ATIS Generator for VATSIM
https://docs.vatis.clowd.io
GNU General Public License v3.0
37 stars 17 forks source link

Caret to force runway identifier only works with two digit runways #149

Closed kengreim closed 9 months ago

kengreim commented 1 year ago

Using something like ^1R is not recognized as a Runway by the parser, but "^01R is. If forcing the leading zero is intended, then a note in the documentation would be nice. Otherwise I think you could just add a [1-9] group to the beginning of the regex?

Regex is here: https://github.com/vatis-project/vatis/blob/a44ba575ed674a962724d1c2d906e523e6f4d5e8/Vatsim.Vatis/Atis/AtisBuilder.cs#L534