Browse Source

String

pull/46/head
Jure Šorn 4 years ago
parent
commit
891ea1fdbd
3 changed files with 4 additions and 3 deletions
  1. 3
      README.md
  2. 2
      index.html
  3. 2
      web/script_2.js

3
README.md

@ -335,7 +335,7 @@ String
### Property Methods
```text
+---------------+----------+----------+----------+----------+----------+
| | [ !#$%…] | [a-zA-Z] | [¼½¾…] | [¹²³…] | [0-9] |
| | [ !#$%…] | [a-zA-Z] | [¼½¾…] | [²³¹…] | [0-9] |
+---------------+----------+----------+----------+----------+----------+
| isprintable() | yes | yes | yes | yes | yes |
| isalnum() | | yes | yes | yes | yes |
@ -346,6 +346,7 @@ String
```
* **Also: `'isspace()'` checks for `'[ \t\n\r…]'`.**
Regex
-----
```python

2
index.html

@ -443,7 +443,7 @@ to_exclusive = <range>.stop
<li><strong>Also: <code class="python hljs"><span class="hljs-string">'lower()'</span></code>, <code class="python hljs"><span class="hljs-string">'upper()'</span></code>, <code class="python hljs"><span class="hljs-string">'capitalize()'</span></code> and <code class="python hljs"><span class="hljs-string">'title()'</span></code>.</strong></li>
</ul>
<div><h3 id="propertymethods">Property Methods</h3><pre><code class="text language-text">+---------------+----------+----------+----------+----------+----------+
| | [ !#$%…] | [a-zA-Z] | [¼½¾…] | [¹²³…] | [0-9] |
| | [ !#$%…] | [a-zA-Z] | [¼½¾…] | [²³¹…] | [0-9] |
+---------------+----------+----------+----------+----------+----------+
| isprintable() | yes | yes | yes | yes | yes |
| isalnum() | | yes | yes | yes | yes |

2
web/script_2.js

@ -197,7 +197,7 @@ const DIAGRAM_12_A =
const DIAGRAM_12_B =
'┏━━━━━━━━━━━━━━━┯━━━━━━━━━━┯━━━━━━━━━━┯━━━━━━━━━━┯━━━━━━━━━━┯━━━━━━━━━━┓\n' +
'┃ │ [ !#$%…] │ [a-zA-Z] │ [¼½¾…] │ [¹²³…] │ [0-9] ┃\n' +
'┃ │ [ !#$%…] │ [a-zA-Z] │ [¼½¾…] │ [²³¹…] │ [0-9] ┃\n' +
'┠───────────────┼──────────┼──────────┼──────────┼──────────┼──────────┨\n' +
'┃ isprintable() │ ✓ │ ✓ │ ✓ │ ✓ │ ✓ ┃\n' +
'┃ isalnum() │ │ ✓ │ ✓ │ ✓ │ ✓ ┃\n' +

Loading…
Cancel
Save