Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
sualeh committed May 7, 2024
1 parent 3426cb5 commit 54d68b4
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 55 deletions.
17 changes: 14 additions & 3 deletions Notebooks/5_c#_unicode_pattern_matching.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -225,9 +225,9 @@
],
"metadata": {
"kernelspec": {
"display_name": "Java",
"language": "java",
"name": "java"
"display_name": ".NET (C#)",
"language": "C#",
"name": ".net-csharp"
},
"language_info": {
"codemirror_mode": "java",
Expand All @@ -236,6 +236,17 @@
"name": "Java",
"pygments_lexer": "java",
"version": "17.0.6+9-LTS-190"
},
"polyglot_notebook": {
"kernelInfo": {
"defaultKernelName": "csharp",
"items": [
{
"aliases": [],
"name": "csharp"
}
]
}
}
},
"nbformat": 4,
Expand Down
44 changes: 8 additions & 36 deletions Notebooks/5_java_unicode_pattern_matching.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"vscode": {
"languageId": "java"
}
},
"metadata": {},
"outputs": [],
"source": [
"boolean matches = false;"
Expand All @@ -37,11 +33,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"vscode": {
"languageId": "java"
}
},
"metadata": {},
"outputs": [],
"source": [
"final String lowerGreek = \"σκύλος\";\n",
Expand All @@ -64,11 +56,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"vscode": {
"languageId": "java"
}
},
"metadata": {},
"outputs": [],
"source": [
"final String lowerGerman = \"straße\";\n",
Expand All @@ -91,11 +79,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"vscode": {
"languageId": "java"
}
},
"metadata": {},
"outputs": [],
"source": [
"final String hindiNumber = \"१२३४५६७८९०\";"
Expand All @@ -111,11 +95,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"vscode": {
"languageId": "java"
}
},
"metadata": {},
"outputs": [],
"source": [
"final Pattern digit = Pattern.compile(\"[0-9]+\");\n",
Expand All @@ -134,11 +114,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"vscode": {
"languageId": "java"
}
},
"metadata": {},
"outputs": [],
"source": [
"final Pattern standard_digit = Pattern.compile(\"\\\\d+\");\n",
Expand All @@ -157,11 +133,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"vscode": {
"languageId": "java"
}
},
"metadata": {},
"outputs": [],
"source": [
"final Pattern unicode_digit = Pattern.compile(\"\\\\p{Nd}+\");\n",
Expand All @@ -181,7 +153,7 @@
"codemirror_mode": "java",
"file_extension": ".jshell",
"mimetype": "text/x-java-source",
"name": "Java",
"name": "java",
"pygments_lexer": "java",
"version": "17.0.6+9-LTS-190"
}
Expand Down
16 changes: 8 additions & 8 deletions Notebooks/5_javascript_unicode_pattern_matching.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
{
"cell_type": "markdown",
"metadata": {
"id": "view-in-github",
"colab_type": "text"
"colab_type": "text",
"id": "view-in-github"
},
"source": [
"<a href=\"https://colab.research.google.com/github/sualeh/What-a-Character/blob/go/Notebooks/5_javascript_unicode_pattern_matching.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
Expand Down Expand Up @@ -60,7 +60,7 @@
"id": "e4kztbf8etrT"
},
"source": [
"When a lower -case character results in more than one uppercase character, there is no match."
"When a lowercase character results in more than one uppercase character, there is no match."
]
},
{
Expand Down Expand Up @@ -172,6 +172,10 @@
}
],
"metadata": {
"colab": {
"include_colab_link": true,
"provenance": []
},
"kernelspec": {
"display_name": "base",
"language": "python",
Expand All @@ -188,12 +192,8 @@
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.5"
},
"colab": {
"provenance": [],
"include_colab_link": true
}
},
"nbformat": 4,
"nbformat_minor": 0
}
}
16 changes: 8 additions & 8 deletions Notebooks/5_python_unicode_pattern_matching.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
{
"cell_type": "markdown",
"metadata": {
"id": "view-in-github",
"colab_type": "text"
"colab_type": "text",
"id": "view-in-github"
},
"source": [
"<a href=\"https://colab.research.google.com/github/sualeh/What-a-Character/blob/go/Notebooks/5_python_unicode_pattern_matching.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
Expand Down Expand Up @@ -71,7 +71,7 @@
"id": "cjQ2WOGNdVVp"
},
"source": [
"When a lower -case character results in more than one uppercase character, there is no match."
"When a lowercase character results in more than one uppercase character, there is no match."
]
},
{
Expand Down Expand Up @@ -184,6 +184,10 @@
}
],
"metadata": {
"colab": {
"include_colab_link": true,
"provenance": []
},
"kernelspec": {
"display_name": "base",
"language": "python",
Expand All @@ -200,12 +204,8 @@
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.5"
},
"colab": {
"provenance": [],
"include_colab_link": true
}
},
"nbformat": 4,
"nbformat_minor": 0
}
}

0 comments on commit 54d68b4

Please sign in to comment.