# Use it to write any regular expression to extract document info from title.
# One line can contain three tab delimited values: 
# 1. process name on which to run the regex
# 2. regex for the group. 
# 3. regex for the activity. OPTIONAL If this one is missing the same value will be used for activity and group.
#
#
# In MaincTime gorups are what you see in the bottom right on the day view, activites on the bottom left. 
# Lets take an URL for example. Group can be site name, so www.manictime.com, activity could be www.manictime.com/download
# Most of the plugins in here use the same value for group and activity, so they only have one regex
#
# 
# For example 
# notepad	[TAB] groupRegex [TAB] activityRegex
#
# Lets take notepad as an example. Notepad title usually consists of a document name then hyphen and then Notepad
# Document1 - Notepad
#
# The following line will try to extract document info for notepad, group and activity will be the same
# notepad	(.*?)-[^-]*$
#
# Regex (.*?)-[^-]*$ will get all text before the last hyphen character, so in above example Document1
#
# If you include more than one capture group, first non empty one will be used
#
#
#
# WARNING
# Whatever you change inside Program files will be overwritten next time you upgrade MT. To keep the changes you make:
# 1. In ManicTime click on Tools - Advanced - Open db folder.
# 2. In subfolder Plugins, you will find file CustomTitle.txt. You can chnage this file, it will not be touched when you upgrade MT.
#
#

notepad	(.*?)-[^-]*$
AcroRd32	(.*?)-[^-]*$
Foxit Reader	(.*?) - Foxit Reader$|.*?\[([^\[]*)\]$
#powerpnt	(.*?) - Microsoft PowerPoint$|Microsoft PowerPoint - (.*?)$
#winword	(.*?) - Microsoft Word$|Microsoft Word - (.*?)$
#excel	(.*?) - Microsoft Excel$|Microsoft Excel - (.*?)$
#outlook	(?:(?:RE|FW)(?:\s*:\s*))*(.*?) - Message.*$

#VLC detects media playing as documents
vlc	(.*?) - [^-]*$
notepad++	\*?(.*?) - [^-]*$
#Detects chats as documents
steam	(.*?) - [^-]*$
#Anything but Audcaity
audacity	([^Audacity].*?)$
#Pidgin...This is gonna be a long one, detects chats as documents
pidgin	([^Buddy List|^Accounts|^Buddy Pounces|^Certificate Manager|^Plugins|^Custom Smiley Manager|^Preferences|^Privacy|^Pidgin|^File Transfers|^Room List|^System Log|^Modify Account|^Set User Info|^MOTD for .*?|^Join a Chat|^Buddy Information|^Conversations with .*?|^Add Buddy|^Add Chat|^Add Group|^Buddy Comment for .*?|^Buddy Icon|^Pidgin Build Information|^Debug Window|^Pidgin Developer Information|^Pidgin Translator Information|^About Pidgin|^Open File...|^Invite Buddy Into Chat Room].*?)$
#ms communicator (Lync)
communicator	^(?!Microsoft Lync|Office Communicator)(.*?)$
#Based off CS5
afterfx	Adobe After Effects - (.*?)$
dreamweaver	.*\[(.*?)\]$
contribute	.*\[(.*?)\*?\]$
adobe encore	(.*?) - Adobe Encore.*$
extendscript toolkit	\*?(.*\.js.*?)$
fireworks	(.*?) : .*? @ .*$
flashbuilder	Flash - (.*?) - Flash Builder$
adobe flash catalyst	Adobe Flash Catalyst - (.*?) @.*?$
#Yeah you have to save it with one of these extensions...
flash	(.*[\.as|\.fla|\.xfl|\.asc|\.jsfl|\.txt|\.xml|\.cel|\.swf|\.flv])\*?$
illustrator	(.*?)\*? @ .*$
indesign	\*?(.*?) @ .*$
adobe premiere pro	Adobe Premiere Pro - (.*?)\*?$
adobe soundbooth cs5	Adobe Soundbooth CS5 - (.*?)\*?$

#PowerDirector 8
pdr8	(.*\.pds)$

#AutoCAD
acad	.*\[((?:.*)\\(?:.*))\]$

#Autodesk 3ds Max...9's title is different from 2010's
3dsmax	(.*\.[a-zA-Z]*) *.*$

#VMWare Workstation
vmware	(.*) - .*$
#VMWarePlayer
vmplayer	(.*) - .*$

#Calibre When you are reading a book
calibre-parallel	E-book Viewer - (.*)$

#eclipse
eclipse	.* - (.*?) - Eclipse$
#Netbeans, unfortunately only gives the project name...though i guess if you use alot of main.java's it's better
netbeans	(.*) - .*$

# total commander Lister
totalcmd	.*?\[([^\]]*)\]$

gvim	(.*?)[ +]*\([^(]*$
yap	.*\[([^\[]*)\]$
msaccess	.* \- ([^:]*).*$
foobar2000	(.*)\[[^\]]*\]$
dcadwin	.*?\[([^\]]*)\]$
sublime_text	([^\u2022]*?)\u2022? - Sublime Text.*?

# Libre Office
soffice.bin	.* - (.*)$	(.*) - .*$

wps	.*?\[([^\]]*)\]$