parseOrgLocalSectionUrl function

String parseOrgLocalSectionUrl(
  1. String url
)

Return the title of the section pointed to by the URL. The URL must be one for which isOrgLocalSectionUrl returns true.

Implementation

String parseOrgLocalSectionUrl(String url) {
  assert(isOrgLocalSectionUrl(url));
  return url.substring(1).replaceAll(RegExp('[ \t]*\r?\n[ \t]*'), ' ');
}