Replace short open tags PHP

Pattern Regex to replace short open tags using sublime:

Find: <\?( )*(?!php)(?!=)(?!xml)(?!mso)
Replace: <?php

It will find only ‘<?’ and they will be replaced by ‘<?php’


Subversion for git users

Clone a repo using subversion:

svn co

Check local repo changes

svn status

Add files to repo

svn add [filename]

Push files to repo

svn commit -m 'message of change'

Bring changes from server

svn up

Ignore more than one directory

svn propset svn:ignore "dir1"$'\n'"dir2" .