Bug #3975
Regexp in Title of Autorecording disappears after setting.
0%
Description
I want to autorecord any program that has "andere tijden" but not "andere tijden sport" as title.
So (according to http://www.regexpal.com) "andere tijden(?! sport)" is to be used as Title (regexp). However when I enter this and then Save then subsequently the Title is blank so containing nothing..
See also before/after attachments.
What am I doing wrong?
Files
History
Updated by g siviero about 8 years ago
Try "andere tijden$" where the final dollar should mean "match the strings that finish with what precedes the dollar".
Updated by Ton VH about 8 years ago
I will try that but the problem is why a valid (according to testsites) Regexp is not saved and disappears.
Updated by g siviero about 8 years ago
Seems very similar to the following issue:
Updated by Meindert Oldenburger about 8 years ago
I also can confirm this issue and with some experimenting the following problems I found:
- It seems that the ? in "andere tijden(?! sport)" is the problem maker of not showing the regexp in the gui AND NOT in the configuration file;
- After entering "andere tijden(\?! sport)" it appears in both GUI AND configuration file but is not working. The configuration file shows "andere tijden(\\?! sport)";
- After manually changing the configuration to "andere tijden(?! sport)" it not appears in the GUI and also not building a queue of recordings.
It seems that there is a problem with the data transport from server <-> GUI and the implementation of processing the regular expression.
Updated by Jaroslav Kysela about 8 years ago
Note that we use glibc posix extended regex which does not support some other regex extensions. Your tester does not support that. Try http://www.regexplanet.com/advanced/golang/index.html
I'll look why the string is not displayed in GUI.
Updated by Jaroslav Kysela about 8 years ago
The regex is not saved, because it's not valid posix regex. TVH behaves correctly.
Updated by Jaroslav Kysela about 8 years ago
More better posix regex tester: http://www.rexv.org/
Updated by Ton VH about 8 years ago
Thanks for the info.
Could you direct me to a place where I can get information on the syntax? or (better) find some examples which I then can modify?
Updated by Jaroslav Kysela about 8 years ago
'man 7 regex' . The http://www.rexv.org/ shows the whole posix syntax in help left column, too.