6.1 Constants, Variables, and Conversions

Expressions are built up from values and the operations performed upon them. This section describes the elementary objects that provide the values used in expressions.

Constants    String, numeric and regexp constants.
Using Constant Regexps    When and how to use a regexp constant.
Variables    Variables give names to values for later use.
Conversion    The conversion of strings to numbers and vice