What are your regular expressions ?
Posted: 08 Jan 2017, 17:26
I know that regular expressions are a very powerful filter and selection language, However i am not a powerful regular expressions wizard.
But i made an effort to make one for SES (Special event stations) , its far form perfect and i would like to invite anyone to help and fine-tune it.
((SES)|(ses)|(SPECIAL)|(special))|(([A-Z]{2,4})([0-9]{2,4})([A-Z][\s]|[A-Z]{3,6})|([A-Z]{1,4})([0-9]{1,4})[A-Z]{4,6})
Most special event stations are captured, however due to the frequent use of locator coordinates (XX00XX) SES stations using this call-sign format are excluded as this would make a lot of false triggers.
____________
And while i am at it, i made a small adjustment to the IOTA expression to prevent false positives for call-sign starting with a continent (EU,NA and so)
(AF|EU|AS|OC|NA|SA|AN|af|eu|as|oc|na|sa|an])((-|\s)?)([0-9]{2,4})|((iota)|(IOTA))
Now at least 2 numbers are required before the IOTA flag is triggered , so EU1RUS will no longer trigger the IOTA flag, but EU01 will.
But i made an effort to make one for SES (Special event stations) , its far form perfect and i would like to invite anyone to help and fine-tune it.
((SES)|(ses)|(SPECIAL)|(special))|(([A-Z]{2,4})([0-9]{2,4})([A-Z][\s]|[A-Z]{3,6})|([A-Z]{1,4})([0-9]{1,4})[A-Z]{4,6})
Most special event stations are captured, however due to the frequent use of locator coordinates (XX00XX) SES stations using this call-sign format are excluded as this would make a lot of false triggers.
____________
And while i am at it, i made a small adjustment to the IOTA expression to prevent false positives for call-sign starting with a continent (EU,NA and so)
(AF|EU|AS|OC|NA|SA|AN|af|eu|as|oc|na|sa|an])((-|\s)?)([0-9]{2,4})|((iota)|(IOTA))
Now at least 2 numbers are required before the IOTA flag is triggered , so EU1RUS will no longer trigger the IOTA flag, but EU01 will.