IT | Small fixes

master
Zughy 2020-10-14 18:18:55 +00:00
parent 704c3d84cf
commit 25d346a15b
5 changed files with 5 additions and 5 deletions

View File

@ -109,7 +109,7 @@ The above code implements `/msg <to> <message>`. Let's go through left to right:
returned from string.match.
* `[]` means accept characters in this list.
* `%a` means accept any letter and `%d` means accept any digit.
* `[%d%a_-]` means accept any letter or digit or `_` or `-`.
* `[%a%d_-]` means accept any letter or digit or `_` or `-`.
* `+` means match the thing before one or more times.
* `*` means match any character in this context.
* `$` means match the end of the string.

View File

@ -1,5 +1,5 @@
---
title: Front Cover
title: Copertina
layout: default
homepage: true
no_header: true

View File

@ -1,5 +1,5 @@
---
title: ItemStack e Inventari
title: ItemStack e inventari
layout: default
root: ../..
idx: 2.4

View File

@ -7,7 +7,7 @@ description: Operazioni base come set_node e get_node
redirect_from: /it/chapters/environment.html
---
## Introduction <!-- omit in toc -->
## Introduzione <!-- omit in toc -->
In questo capitolo imparerai come eseguire semplici azioni sulla mappa.

View File

@ -101,7 +101,7 @@ Il codice sovrastante implementa `/msg <a> <messaggio>`. Vediamo cos'è successo
* `()` è un gruppo - qualsiasi cosa che combaci con ciò che è contenuto al suo interno verrà ritornato da string.match;
* `[]` significa che i caratteri al suo interno sono accettati;
* `%a` significa che accetta ogni lettera e `%d` ogni cifra.
* `[%d%a_-]` significa che accetta ogni lettera, cifra, `_` e `-`.
* `[%a%d_-]` significa che accetta ogni lettera, cifra, `_` e `-`.
* `+` dice di combaciare ciò che lo precede una o più volte.
* `*` dice di combaciare qualsiasi tipo di carattere.
* `$` dice di combaciare la fine della stringa.