Skip to content

Commit e40711d

Browse files
html version of the book
1 parent f7042d6 commit e40711d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+13786
-0
lines changed

404.html

Lines changed: 217 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,217 @@
1+
<!DOCTYPE HTML>
2+
<html lang="en" class="sidebar-visible no-js light">
3+
<head>
4+
<!-- Book generated using mdBook -->
5+
<meta charset="UTF-8">
6+
<title></title>
7+
8+
9+
<base href="/learn_js_regexp/">
10+
11+
12+
13+
<!-- Custom HTML head -->
14+
15+
16+
17+
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
18+
<meta name="description" content="Example based guide to mastering JavaScript regexp">
19+
<meta name="viewport" content="width=device-width, initial-scale=1">
20+
<meta name="theme-color" content="#ffffff" />
21+
22+
<link rel="icon" href="favicon.svg">
23+
<link rel="shortcut icon" href="favicon.png">
24+
<link rel="stylesheet" href="css/variables.css">
25+
<link rel="stylesheet" href="css/general.css">
26+
<link rel="stylesheet" href="css/chrome.css">
27+
<link rel="stylesheet" href="css/print.css" media="print">
28+
29+
<!-- Fonts -->
30+
<link rel="stylesheet" href="FontAwesome/css/font-awesome.css">
31+
32+
<link rel="stylesheet" href="fonts/fonts.css">
33+
34+
35+
<!-- Highlight.js Stylesheets -->
36+
<link rel="stylesheet" href="highlight.css">
37+
<link rel="stylesheet" href="tomorrow-night.css">
38+
<link rel="stylesheet" href="ayu-highlight.css">
39+
40+
<!-- Custom theme stylesheets -->
41+
42+
<link rel="stylesheet" href="custom.css">
43+
44+
45+
46+
</head>
47+
<body>
48+
<!-- Provide site root to javascript -->
49+
<script type="text/javascript">
50+
var path_to_root = "";
51+
var default_theme = window.matchMedia("(prefers-color-scheme: dark)").matches ? "navy" : "light";
52+
</script>
53+
54+
<!-- Work around some values being stored in localStorage wrapped in quotes -->
55+
<script type="text/javascript">
56+
try {
57+
var theme = localStorage.getItem('mdbook-theme');
58+
var sidebar = localStorage.getItem('mdbook-sidebar');
59+
60+
if (theme.startsWith('"') && theme.endsWith('"')) {
61+
localStorage.setItem('mdbook-theme', theme.slice(1, theme.length - 1));
62+
}
63+
64+
if (sidebar.startsWith('"') && sidebar.endsWith('"')) {
65+
localStorage.setItem('mdbook-sidebar', sidebar.slice(1, sidebar.length - 1));
66+
}
67+
} catch (e) { }
68+
</script>
69+
70+
<!-- Set the theme before any content is loaded, prevents flash -->
71+
<script type="text/javascript">
72+
var theme;
73+
try { theme = localStorage.getItem('mdbook-theme'); } catch(e) { }
74+
if (theme === null || theme === undefined) { theme = default_theme; }
75+
var html = document.querySelector('html');
76+
html.classList.remove('no-js')
77+
html.classList.remove('light')
78+
html.classList.add(theme);
79+
html.classList.add('js');
80+
</script>
81+
82+
<!-- Hide / unhide sidebar before it is displayed -->
83+
<script type="text/javascript">
84+
var html = document.querySelector('html');
85+
var sidebar = 'hidden';
86+
if (document.body.clientWidth >= 1080) {
87+
try { sidebar = localStorage.getItem('mdbook-sidebar'); } catch(e) { }
88+
sidebar = sidebar || 'visible';
89+
}
90+
html.classList.remove('sidebar-visible');
91+
html.classList.add("sidebar-" + sidebar);
92+
</script>
93+
94+
<nav id="sidebar" class="sidebar" aria-label="Table of contents">
95+
<div class="sidebar-scrollbox">
96+
<ol class="chapter"><li class="chapter-item expanded affix "><a href="cover.html">Cover</a></li><li class="chapter-item expanded affix "><a href="buy.html">Buy PDF/EPUB versions</a></li><li class="chapter-item expanded "><a href="preface.html"><strong aria-hidden="true">1.</strong> Preface</a></li><li class="chapter-item expanded "><a href="whats-so-special-about-regular-expressions.html"><strong aria-hidden="true">2.</strong> What's so special about Regular Expressions?</a></li><li class="chapter-item expanded "><a href="regexp-introduction.html"><strong aria-hidden="true">3.</strong> RegExp introduction</a></li><li class="chapter-item expanded "><a href="anchors.html"><strong aria-hidden="true">4.</strong> Anchors</a></li><li class="chapter-item expanded "><a href="alternation-and-grouping.html"><strong aria-hidden="true">5.</strong> Alternation and Grouping</a></li><li class="chapter-item expanded "><a href="escaping-metacharacters.html"><strong aria-hidden="true">6.</strong> Escaping metacharacters</a></li><li class="chapter-item expanded "><a href="dot-metacharacter-and-quantifiers.html"><strong aria-hidden="true">7.</strong> Dot metacharacter and Quantifiers</a></li><li class="chapter-item expanded "><a href="interlude-tools-for-debugging-and-visualization.html"><strong aria-hidden="true">8.</strong> Interlude: Tools for debugging and visualization</a></li><li class="chapter-item expanded "><a href="working-with-matched-portions.html"><strong aria-hidden="true">9.</strong> Working with matched portions</a></li><li class="chapter-item expanded "><a href="character-class.html"><strong aria-hidden="true">10.</strong> Character class</a></li><li class="chapter-item expanded "><a href="groupings-and-backreferences.html"><strong aria-hidden="true">11.</strong> Groupings and backreferences</a></li><li class="chapter-item expanded "><a href="interlude-common-tasks.html"><strong aria-hidden="true">12.</strong> Interlude: Common tasks</a></li><li class="chapter-item expanded "><a href="lookarounds.html"><strong aria-hidden="true">13.</strong> Lookarounds</a></li><li class="chapter-item expanded "><a href="unicode.html"><strong aria-hidden="true">14.</strong> Unicode</a></li><li class="chapter-item expanded "><a href="further-reading.html"><strong aria-hidden="true">15.</strong> Further Reading</a></li><li class="chapter-item expanded "><a href="Exercise_solutions.html"><strong aria-hidden="true">16.</strong> Exercise Solutions</a></li></ol>
97+
</div>
98+
<div id="sidebar-resize-handle" class="sidebar-resize-handle"></div>
99+
</nav>
100+
101+
<div id="page-wrapper" class="page-wrapper">
102+
103+
<div class="page">
104+
105+
<div id="menu-bar-hover-placeholder"></div>
106+
<div id="menu-bar" class="menu-bar sticky bordered">
107+
<div class="left-buttons">
108+
<button id="sidebar-toggle" class="icon-button" type="button" title="Toggle Table of Contents" aria-label="Toggle Table of Contents" aria-controls="sidebar">
109+
<i class="fa fa-bars"></i>
110+
</button>
111+
<button id="theme-toggle" class="icon-button" type="button" title="Change theme" aria-label="Change theme" aria-haspopup="true" aria-expanded="false" aria-controls="theme-list">
112+
<i class="fa fa-paint-brush"></i>
113+
</button>
114+
<ul id="theme-list" class="theme-popup" aria-label="Themes" role="menu">
115+
<li role="none"><button role="menuitem" class="theme" id="light">Light (default)</button></li>
116+
<li role="none"><button role="menuitem" class="theme" id="rust">Rust</button></li>
117+
<li role="none"><button role="menuitem" class="theme" id="coal">Coal</button></li>
118+
<li role="none"><button role="menuitem" class="theme" id="navy">Navy</button></li>
119+
<li role="none"><button role="menuitem" class="theme" id="ayu">Ayu</button></li>
120+
</ul>
121+
122+
<button id="search-toggle" class="icon-button" type="button" title="Search. (Shortkey: s)" aria-label="Toggle Searchbar" aria-expanded="false" aria-keyshortcuts="S" aria-controls="searchbar">
123+
<i class="fa fa-search"></i>
124+
</button>
125+
126+
</div>
127+
128+
<h1 class="menu-title">JavaScript RegExp</h1>
129+
130+
<div class="right-buttons">
131+
132+
<a href="https://github.com/learnbyexample/learn_js_regexp" title="Git repository" aria-label="Git repository">
133+
<i id="git-repository-button" class="fa fa-github"></i>
134+
</a>
135+
136+
</div>
137+
</div>
138+
139+
140+
<div id="search-wrapper" class="hidden">
141+
<form id="searchbar-outer" class="searchbar-outer">
142+
<input type="search" name="search" id="searchbar" name="searchbar" placeholder="Search this book ..." aria-controls="searchresults-outer" aria-describedby="searchresults-header">
143+
</form>
144+
<div id="searchresults-outer" class="searchresults-outer hidden">
145+
<div id="searchresults-header" class="searchresults-header"></div>
146+
<ul id="searchresults">
147+
</ul>
148+
</div>
149+
</div>
150+
151+
152+
<!-- Apply ARIA attributes after the sidebar and the sidebar toggle button are added to the DOM -->
153+
<script type="text/javascript">
154+
document.getElementById('sidebar-toggle').setAttribute('aria-expanded', sidebar === 'visible');
155+
document.getElementById('sidebar').setAttribute('aria-hidden', sidebar !== 'visible');
156+
Array.from(document.querySelectorAll('#sidebar a')).forEach(function(link) {
157+
link.setAttribute('tabIndex', sidebar === 'visible' ? 0 : -1);
158+
});
159+
</script>
160+
161+
<div id="content" class="content">
162+
<main>
163+
<h1><a class="header" href="#document-not-found-404" id="document-not-found-404">Document not found (404)</a></h1>
164+
<p>This URL is invalid, sorry. Please use the navigation bar or search to continue.</p>
165+
166+
</main>
167+
168+
<nav class="nav-wrapper" aria-label="Page navigation">
169+
<!-- Mobile navigation buttons -->
170+
171+
172+
173+
174+
<div style="clear: both"></div>
175+
</nav>
176+
</div>
177+
</div>
178+
179+
<nav class="nav-wide-wrapper" aria-label="Page navigation">
180+
181+
182+
183+
</nav>
184+
185+
</div>
186+
187+
188+
189+
190+
191+
192+
193+
194+
<script type="text/javascript">
195+
window.playground_copyable = true;
196+
</script>
197+
198+
199+
200+
201+
202+
<script src="elasticlunr.min.js" type="text/javascript" charset="utf-8"></script>
203+
<script src="mark.min.js" type="text/javascript" charset="utf-8"></script>
204+
<script src="searcher.js" type="text/javascript" charset="utf-8"></script>
205+
206+
207+
<script src="clipboard.min.js" type="text/javascript" charset="utf-8"></script>
208+
<script src="highlight.js" type="text/javascript" charset="utf-8"></script>
209+
<script src="book.js" type="text/javascript" charset="utf-8"></script>
210+
211+
<!-- Custom JS scripts -->
212+
213+
214+
215+
216+
</body>
217+
</html>

0 commit comments

Comments
 (0)