diff options
author | Thomas Voss <mail@thomasvoss.com> | 2025-08-16 16:33:49 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2025-08-16 16:33:49 +0200 |
commit | 0971b2e59594e3067d113b49f5a7c5e71293a3e9 (patch) | |
tree | a17cd55139435064fdcdbc4bf3094e8db65f2784 /src/blog/grab/index.gsp | |
parent | 951d990eb87727c074cd12792597a3edb3a63e4b (diff) |
Fix bad typography
Diffstat (limited to 'src/blog/grab/index.gsp')
-rw-r--r-- | src/blog/grab/index.gsp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/blog/grab/index.gsp b/src/blog/grab/index.gsp index 87ebb5f..38918eb 100644 --- a/src/blog/grab/index.gsp +++ b/src/blog/grab/index.gsp @@ -125,7 +125,7 @@ html lang="en" { p {- So over the following few days I made major changes, rewrote lots of the - code, and overall turned my tool — @code{-grab} — into a staple part of + code, and overall turned my tool – @code{-grab} – into a staple part of my hackers toolbelt. } @@ -134,8 +134,8 @@ html lang="en" { If you’re familiar with the UNIX environment, you’re probably used to querying text with tools such as @code{-sed} and @code{-awk} using regular expressions. These are the same regular expressions we as - programmers all know and love, but with one important — yet often - overlooked — characteristic: you cannot match the newline. + programmers all know and love, but with one important – yet often + overlooked – characteristic: you cannot match the newline. } p {- @@ -143,8 +143,8 @@ html lang="en" { newline is treated no differently from another other character you want to match. Want to match an entire paragraph of text? The pattern is as simple as ‘@code{-[^\\n].+?(?=\\n\\n|$)}’. It may look - complicated if you’re new to regular expressions — PCREs to be specific - — but it’s really quite simple. You just match a non-newline character, + complicated if you’re new to regular expressions – PCREs to be specific + – but it’s really quite simple. You just match a non-newline character, and then as many characters as possible until reaching either a double newline, or the end of input. } @@ -272,4 +272,4 @@ html lang="en" { footer { FOOT } } -} +}
\ No newline at end of file |