Overview
I’ve hosted a prospie already, can I get extra credit?
Sure.
What are the caps?
Complicated.
Will you reward especially nice solutions?
Possibly. Probably.
What should our log look like?
; Time Log:
; Date Start Finish Elapsed Activity
; 2019-02-13 13:00 13:10 10 Read the problem, drew a picture
; 2019-02-15 13:00 13:30 30 Wrote a procedure that ...; watched X dive
; 2019-02-17 19:00 19:10 10 Wrapped up the work
; Time Spent: 50 minutes
How do I check if a string starts with a capital letter?
Use
(regexp-match? pattern string)
or(regexp-match-exact? pattern string)
What about “at the start of the word”?
See the
p-words
instruction. A caret not in the square brackets means “start of string” (or, sometimes, start of line”)
And “end of the string”?
Google says that $ is the regexp for end of string/line.