Project

General

Profile

Bug #3975

Regexp in Title of Autorecording disappears after setting.

Added by Ton VH about 8 years ago. Updated about 8 years ago.

Status:
Invalid
Priority:
Normal
Assignee:
-
Category:
Configuration
Target version:
-
Start date:
2016-09-10
Due date:
% Done:

0%

Estimated time:
Found in version:
4.1.2190
Affected Versions:

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

before.png (96.6 KB) before.png Ton VH, 2016-09-10 19:09
after.png (75.8 KB) after.png Ton VH, 2016-09-10 19:09

History

#1

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".

#2

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.

#3

Updated by g siviero about 8 years ago

Seems very similar to the following issue:

[[https://tvheadend.org/boards/5/topics/19220]]

#4

Updated by Ton VH about 8 years ago

Probably identical. But there is no response to that issue.

#5

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.

#6

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.

#7

Updated by Jaroslav Kysela about 8 years ago

The regex is not saved, because it's not valid posix regex. TVH behaves correctly.

#8

Updated by Jaroslav Kysela about 8 years ago

More better posix regex tester: http://www.rexv.org/

#9

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?

#10

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.

#12

Updated by Jaroslav Kysela about 8 years ago

  • Status changed from New to Invalid

Also available in: Atom PDF