Skip to content

Commit

Permalink
Created using Colab
Browse files Browse the repository at this point in the history
  • Loading branch information
sualeh committed May 7, 2024
1 parent 5aaca82 commit c20b4f5
Showing 1 changed file with 17 additions and 33 deletions.
50 changes: 17 additions & 33 deletions Notebooks/5_go_unicode_pattern_matching.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,18 @@
{
"cell_type": "markdown",
"metadata": {
"colab_type": "text",
"id": "view-in-github"
"id": "view-in-github",
"colab_type": "text"
},
"source": [
"<a href=\"https://colab.research.google.com/github/sualeh/What-a-Character/blob/go/Notebooks/5_go_unicode_pattern_matching.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
]
},
{
"cell_type": "markdown",
"metadata": {},
"metadata": {
"id": "WLIiQlTwYqIq"
},
"source": [
"----------\n",
"\n",
Expand All @@ -27,7 +29,9 @@
"metadata": {
"vscode": {
"languageId": "polyglot-notebook"
}
},
"cellView": "form",
"id": "VZi7T79VYqIr"
},
"outputs": [],
"source": [
Expand Down Expand Up @@ -66,7 +70,9 @@
},
{
"cell_type": "markdown",
"metadata": {},
"metadata": {
"id": "JRdDmD4AYqIs"
},
"source": [
"----------"
]
Expand Down Expand Up @@ -131,7 +137,7 @@
"outputs": [],
"source": [
"%%\n",
"patternGerman := regexp.MustCompile(\"(?iU)straße\"\n",
"patternGerman := regexp.MustCompile(\"(?iU)straße\")\n",
"matches := patternGerman.MatchString(\"STRASSE\")\n",
"\n",
"fmt.Println(matches)"
Expand All @@ -146,15 +152,6 @@
"## Matching Numbers"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "Er1YlQy3dVVq"
},
"outputs": [],
"source": []
},
{
"cell_type": "markdown",
"metadata": {
Expand Down Expand Up @@ -233,27 +230,14 @@
],
"metadata": {
"colab": {
"include_colab_link": true,
"provenance": []
"provenance": [],
"include_colab_link": true
},
"kernelspec": {
"display_name": "base",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.5"
"display_name": "Go (gonb)",
"name": "gonb"
}
},
"nbformat": 4,
"nbformat_minor": 0
}
}

0 comments on commit c20b4f5

Please sign in to comment.