Got a YouTube account?

New: enable viewer-created translations and captions on your YouTube channel!

English subtitles

← 07-17 Crafting Token Specifications

Get Embed Code
3 Languages

Showing Revision 1 created 06/29/2012 by Amara Bot.

  1. One of the tasks in this course was to specify tokens like numbers in quoted strings.
  2. Here I'm giving you a slightly different kind of number--submit via the interpreter,
  3. define a variable regexp that matches numbers with one or more leading digits 1,2,3--1,1
  4. and an optional dot followed by zero or more digits.
  5. Here's the dot and then here it has one digit, here it has zero digits after it.