• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

REMatch

Explorer ,
Nov 01, 2012 Nov 01, 2012

Copy link to clipboard

Copied

Views

635

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 01, 2012 Nov 01, 2012

Copy link to clipboard

Copied

In the description it says ", starting from a specified position". This is not the case. There is no parameter for starting position.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Nov 01, 2012 Nov 01, 2012

Copy link to clipboard

Copied

Although I've never tried, my guess is that there is a missing optional parameter in the doc: [start], similar to reFind.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 02, 2012 Nov 02, 2012

Copy link to clipboard

Copied

Although I've never tried, my guess is that there is a missing optional parameter in the doc: [start], similar to reFind.

Nope.  The docs are just wrong.

--

Adam

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 05, 2012 Nov 05, 2012

Copy link to clipboard

Copied

LATEST

If you use 3 parameters like this in ColdFusion 10

<cfset matches = rematch('[0-9]{4}', testString, 2)>

<cfdump var="#matches#">

you will get the error message, "The function takes 2 parameter". Funnily enough, the message itself contains an error.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation