Fix a bug on the treatment of footer.
Multiple patterns can be accepted now.
The user defined patterns can be accepted now.
Merge branch 'dev'
Add code tag to 'af'