PageSourceSearch

https://hapifhir.io/hapi-fhir/resources/prismjs/components/prism-json5.js

js hapifhir.io collected 2026-09-25 08:50:59 UTC 530 bytes, 23 lines download raw bytes

vendor: 530 bytes, lines 1-23
1(function (Prism) {
2
3	var string = /("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;
4
5	Prism.languages.json5 = Prism.languages.extend('json', {
6		'property': [
7			{
8				pattern: RegExp(string.source + '(?=\\s*:)'),
9				greedy: true
10			},
11			{
12				pattern: /(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,
13				alias: 'unquoted'
14			}
15		],
16		'string': {
17			pattern: string,
18			greedy: true
19		},
20		'number': /[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/
21	});
22
23}(Prism));

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.