Specifications
CFML functions and variables 15
Note: The date pivot point for calculating the century in a two-digit year has changed from
ColdFusion 5, affecting the results from date functions. For more information, see “Date
pivot point for two-digit years” on page 26.
The ColdFusion section of the Macromedia website contains the most current
compatibility information. For more information, go to
http://www.macromedia.com/coldfusion.
REFind
REReplace()
REFindNoCase()
REReplaceNoCase()
Changed Excludes questionable punctuation, such
as +, $, and =, in the [[:punct:]] class of
regular expression functions.
See REFind(),
REReplace(),
REFindNoCase(), and
REReplaceNoCase() in
CFML Reference
.
Recognizes accented letters in the
appropriate character classes, such as
:upper:, :lower:, :alpha:, and so on.
Does not allow the backslash character (\)
in a regular expression, even if it is inside a
character class []. You must escape it by
prefixing an additional backslash (\\).
(ColdFusion 5 does not require you to
escape a backslash in this case.)
REReplace(),
REReplaceNoCase()
Changed In replacement strings, the following
character pairs now represent case
conversion codes: \E, \l, \L, \u, and \U.
If your ColdFusion 5 application has a
replacement string with one of these
character pairs, escape it by prefixing it
with a backslash (for example, \\u).
To include special characters for backrefs
(\1), prefix them with an additional
blackslash (for example, \\1). To include a
real backref, prefix an additional backslash
(for example, \\\1).
For case conversion codes, additional
blackslash prefixes alternate between
escaping the code and not. For backrefs,
they always escape.
See REReplace() and
REReplaceNoCase() in
CFML Reference
.
StructKeyList
Changed Returns struct keys in the order they are
created, not in alphabetical order like in
ColdFusion 5.
If you need sorted struct values or keys,
you can use the StructSort and
StructKeySort functions.
See StructKeyList() in
CFML Reference
.
Function Status Issue For more information