Introduction
A Rule List is a collection of Switch Rules distributed as a text file.
Format
The Rule List file is a normal text file contains the rules grouped by their type (Wildcard or RegExp),
and enclosed by #BEGIN
and #END
marks.
The file format is similar to http://en.wikipedia.org/wiki/INI_file'>ini files format.
Example
; Summary: Example Rule List
; Author: Mhd Hejazi (my@email)
; Date: 2010-01-20
; URL: http://samabox.com/projects/chrome/switchy/switchyrules.txt
#BEGIN
[Wildcard]
*://chrome.google.com/*
*://*.samabox.com/*
[RegExp]
^http://code\.google\.com/.*
youtube
#END
Notes
If the rule pattern is preceded by ! (exclamation mark), then the rule is considered an exclusive rule,
which means that every URL matches this rule pattern will be requested using the default proxy not the rule list proxy.