Skip to content

Commit fee0b7f

Browse files
committed
typo squatting
1 parent 56ecd9c commit fee0b7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

RSML.Docs/Documentation/Migrate_From_MFRoad/Migrating.org

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ win.+ -> "foobar"
3131

3232
Yup, that represents the very same thing. And before you say "win32 isn't the same as win", remember that in MFRoad, ~win32~ is the designation for any Windows version.
3333

34-
However - and this is going to be specifically amusing to those wo fear Regex - you don't need it in your RSML. At least, most of the time. The reason for it is that RSML uses MSBuild Runtime Identifiers and these follow a hierarchy.
34+
However - and this is going to be specifically amusing to those who fear Regex - you don't need it in your RSML. At least, most of the time. The reason for it is that RSML uses MSBuild Runtime Identifiers and these follow a hierarchy.
3535

3636
Just writing the following RSML will evluate to ~"Hello, World!"~ in every single x64 machine.
3737
#+begin_src python
@@ -42,7 +42,7 @@ x64 -> "Hello, World!"
4242
Same with MacOS (which uses RID ~osx~) and Linux. If you want to adress both, you don't need to do Regex black magic. You can just use RID ~unix~.
4343
#+begin_src python
4444
# Don't do this:
45-
# {linux|osx}+. -> "Hey"
45+
# {linux|osx}.+ -> "Hey"
4646

4747
# Do this:
4848
unix -> "Hey"

0 commit comments

Comments
 (0)