blob: 45f9b449a7873cc68790f7c2b0dcb0f9c5e49074 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:locate:escape
* @fileoverview Locate an escape.
*/
'use strict';
module.exports = locate;
function locate(value, fromIndex) {
return value.indexOf('\\', fromIndex);
}
|