ManicTime Forum
»
Main
»
Technical Support
»
incorrect "negative match" in CustomTitle.txt
Rank: Advanced Member
Joined: 6/24/2011(UTC) Posts: 147 Location: New York, NY
|
I notice that some of the entries (like for pigin & audacity) seem to be trying to exclude matches of certain strings. If that is the intent, the form given is not actually correct. The given form is using character set exclusions, which don't treat the item between the brackets as a string, just an unordered character set, and only matches a single character as used, anyway.
The form to use is the "negative lookahead". This following expression works for Office Communicator/Microsoft Lync, e.g. It only captures the conversation window activity, not the buddy list activity:
#ms communicator (Lync) communicator ^(?!Microsoft Lync|Office Communicator)(.*?)$
|
|
|
|
Rank: Administration
Joined: 4/13/2010(UTC) Posts: 872
|
Most of them were posted by a user, so we included them. http://forum.manictime.c...t.aspx?g=posts&m=366I don't have these apps installed, but if they work in way where title is title of the app until something is for example saved, at which point that save replaces the original title, I'd say you are correct. But I'm not much if a regular expression expert.
|
|
|
|
Rank: Advanced Member
Joined: 6/24/2011(UTC) Posts: 147 Location: New York, NY
|
yeah, I'm not an expert either. I just used the form I saw as a template to construct one for Communicator, and all it did was chop off the first character of titles starting with one of the characters in the given string.
|
|
|
|
ManicTime Forum
»
Main
»
Technical Support
»
incorrect "negative match" in CustomTitle.txt
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.