Skip to content

Instantly share code, notes, and snippets.

@brenhamp
brenhamp / regex_japanese_tutorial.MD
Last active April 25, 2023 17:06
Regular Expressions And Japanese

Regular Expressions and Japanese

In our modules, we have covered how to read and write regular expressions that use numbers, special characters, and letters from the Roman alphabet (A-Z). But what about characters from other languages? This is also possible, and there are different ways to do it!

Now, most character sets and alphabets have their own ranges in Unicode, so you can simply grab the first and last code and use that, as long as your system supports it. However, Japanese uses three different "alphabets," one of which is derived from Chinese. Additionally, Japanese users will sometimes use English words when they are talking about something specific, quoting something written in English, or if there isn't a good translation for it. So how can we account for all of this? Regex is flexible enough to cover it all!

A Quick Breakdown of Japanese Characters

You don't need to know Japanese to understand this tutorial, but you'll benefit from having some small idea of the different types of Japanese

@lukas-h
lukas-h / license-badges.md
Last active September 17, 2024 21:32
Markdown License Badges for your Project

Markdown License badges

Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.

Notes

  • The badges do not fully replace the license informations for your projects, they are only emblems for the README, that the user can see the License at first glance.

Translations: (No guarantee that the translations are up-to-date)