❘❡♠✐♥❞❡rs
❋✉❧❧ ❉❥❛♥❣♦ ♣r♦❞✉❝ts ❛r❡ ❞✉❡ ♥❡①t ❚❤✉rs❞❛②✦ ▲❡t✬s st❛rt ❜② q✉✐③③✐♥❣ ②♦✉✳
❈❙✸✼✵✱ ●ü♥❛② ✭❊♠♦r②✮ ❙♣r✐♥❣ ✷✵✶✺ ✶ ✴ ✻
rs rts r - - PowerPoint PPT Presentation
ts strt q rs rts r t rs r
❈❙✸✼✵✱ ●ü♥❛② ✭❊♠♦r②✮ ❙♣r✐♥❣ ✷✵✶✺ ✶ ✴ ✻
❈❙✸✼✵✱ ●ü♥❛② ✭❊♠♦r②✮ ❙♣r✐♥❣ ✷✵✶✺ ✶ ✴ ✻
❈❙✸✼✵✱ ●ü♥❛② ✭❊♠♦r②✮ ❉❥❛♥❣♦ ▼❱❈ ✐♥tr♦ ❙♣r✐♥❣ ✷✵✶✺ ✸ ✴ ✻
1/24/2013 CS 370, Spring 2012 18
1/29/2013 CS 370, Spring 2012 2
Formalized in 1979
1/29/2013 CS 370, Spring 2012 3
✶ ❱✐s✐t♦r✬s ❜r♦✇s❡r ❛s❦s ❢♦r ❛ ❯❘▲✳ ✷ ❉❥❛♥❣♦ ♠❛t❝❤❡s t❤❡ r❡q✉❡st ❛❣❛✐♥st ✐ts ✉r❧s✳♣② ✜❧❡s✳ ✸ ■❢ ❛ ♠❛t❝❤ ✐s ❢♦✉♥❞✱ ❉❥❛♥❣♦ ♠♦✈❡s ♦♥ t♦ t❤❡ ✈✐❡✇
✹ ❚❤❡ ✈✐❡✇ ❣❡♥❡r❛❧❧② ❤❛♥❞❧❡s ❛❧❧ t❤❡ ❞❛t❛❜❛s❡
✺ ❆ t❡♠♣❧❛t❡ ✭s♣❡❝✐✜❡❞ ✐♥ t❤❡ ✈✐❡✇✮ t❤❡♥ ❞✐s♣❧❛②s t❤❛t
1/29/2013 CS 370, Spring 2012 5
hosting service, internal Wiki and internal Mail Archives.
subtitling site.
1/24/2013 CS 370, Spring 2012 20
– https://docs.djangoproject.com/en/dev/intro/tutorial03/
1/29/2013 CS 370, Spring 2012 6
1/29/2013 CS 370, Spring 2012 7
CREATE TABLE myapp_person ( "id" serial NOT NULL PRIMARY KEY, "first_name" varchar(30) NOT NULL, "last_name" varchar(30) NOT NULL );
1/29/2013 CS 370, Spring 2012 8
https://docs.djangoproject.com/en/1.3/ref/models/fields/#model-field-types
https://docs.djangoproject.com/en/1.3/topics/db/models/
1/29/2013 CS 370, Spring 2012 9
1/29/2013 CS 370, Spring 2012 10
1/29/2013 CS 370, Spring 2012 12
1/29/2013 CS 370, Spring 2012 13
1/29/2013 CS 370, Spring 2012 14
1/29/2013 CS 370, Spring 2012 15
1/29/2013 CS 370, Spring 2012 16
1/29/2013 CS 370, Spring 2012 17
1/29/2013 CS 370, Spring 2012 18
Any single character
Any single digit
Any character between A and Z (uppercase)
Any character between a and z (lowercase)
Any character between a and z (case-insensitive)
One or more of the previous expression (e.g., \d+ matches one or more digits)
One or more characters until (and not including) a forward slash
Zero or one of the previous expression (e.g., \d? matches zero or one digits)
Zero or more of the previous expression (e.g., \d* matches zero, one or more than one digit)
Between one and three (inclusive) of the previous expression (e.g., \d{1,3} matches one, two or three digits) http://www.djangoproject.com/r/python/re-module/
1/29/2013 CS 370, Spring 2012 19
1/29/2013 CS 370, Spring 2012 20
1/29/2013 CS 370, Spring 2012 21
1/29/2013 CS 370, Spring 2012 22
1/29/2013 CS 370, Spring 2012 29