Regex Patterns - Javascript and DOM




CS174

Chris Pollett

Nov 9, 2020

Outline

Pattern Matching

Pattern Special Characters

Slash Patterns

Yet more special characters

Pattern Modifiers

More Pattern Methods

Quiz

Which of the following statements is true?

  1. To access the make property of a Javascript object my_object, one could use either the syntax my_object.make or my_object['make']
  2. Javascript does not support anonymous functions.
  3. Variable hoisting in Javascript only applies to variables defined with let.

Execution Environment

Document Object Model

Element Access in Javascript

More on Element Access

Events and Event Handling

More on Event Handling

Validating Forms

DOM 2

The Navigator Object

Element Positioning