Using regexp on Awards
Posted: 25 May 2021, 22:06
Hello, I would like to raise a problem that I have.
I have searched the forum and the closest thing I have found is this version 1 (https://forum.log4om.com/viewtopic.php?t=1107) but it does not clarify my situation.
And googling, I have not found references to the award settings the way I need to use it.
My setup is LOG4OM V2.10.0.0 on W10 20H2.
I am trying to generate a new award using the regex option in "References".
The point is that I must filter by the fourth character in the callsign field.
I have built the expression ^ (CX [0-9] F) (. *) $, But it doesn't work.
The logic should be, start with "CX", then a decimal digit and then the letter "F", what comes next doesn't matter.
It validates any feature that has an "F" after the number, so it validates CX8FS, CX8SF, CX8SSF, etc ..
I have validated it using this site (https://regex101.com/), but it doesn't behave the same in LOG4OM.
Must say I haven't experience using regular expressions, maybe someone in this forum has experience with it.
Any help will be appreciated.
Kind regards
Claudio - CX8FS
I have searched the forum and the closest thing I have found is this version 1 (https://forum.log4om.com/viewtopic.php?t=1107) but it does not clarify my situation.
And googling, I have not found references to the award settings the way I need to use it.
My setup is LOG4OM V2.10.0.0 on W10 20H2.
I am trying to generate a new award using the regex option in "References".
The point is that I must filter by the fourth character in the callsign field.
I have built the expression ^ (CX [0-9] F) (. *) $, But it doesn't work.
The logic should be, start with "CX", then a decimal digit and then the letter "F", what comes next doesn't matter.
It validates any feature that has an "F" after the number, so it validates CX8FS, CX8SF, CX8SSF, etc ..
I have validated it using this site (https://regex101.com/), but it doesn't behave the same in LOG4OM.
Must say I haven't experience using regular expressions, maybe someone in this forum has experience with it.
Any help will be appreciated.
Kind regards
Claudio - CX8FS