Skip to content

Commit b609eb2

Browse files
committed
fix(typo)
1 parent 838a51a commit b609eb2

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

169 Bytes
Loading
195 Bytes
Loading
388 Bytes
Loading

regex-imatriculation/regex-imatriculation.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ However, you may want to use an extractor based on regular expression.
1717
In this tutorial, you will learn how to create an extractor for French license plates using a RegexExtractor.
1818

1919
## You will need
20-
* To have complet the <a href="/#/codelab/getting-started" target="_blank">Getting Started tutorial</a>
21-
* A very basic understanding of Regular expressions (but don't panic, we said very basic!)
20+
* To have complete the <a href="/#/codelab/getting-started" target="_blank">Getting Started tutorial</a>
21+
* A very basic understanding of regular expressions (but don't panic, we said very basic!)
2222

2323
--sep--
2424
---
@@ -66,8 +66,8 @@ Our license plate can be separated into 5 sections :
6666
3. `999`: We use `[0-9]{2,3}` as we want to match any combination of 2 or 3 digits. (Scooters use 2 letters).
6767
4. `-`: Another literal dash character.
6868
5. `AA`: The last section is the same as the first one.
69-
70-
Once we have our regular expression to extract a license plate, we can use is in our extractor
69+
g
70+
Once we have our regular expression to extract a license plate, we can use it in our extractor
7171

7272
## Use it in the RegexExtractor
7373

@@ -76,7 +76,7 @@ Create a new file called `licenseplate-extractor.js` in the `extractors` folder
7676
```javascript
7777
const { RegexExtractor } = require('botfuel-dialog')
7878

79-
class LicenePlateExtractor extends RegexExtractor {
79+
class LicensePlateExtractor extends RegexExtractor {
8080
constructor() {
8181
super({
8282
dimension: 'licenseplate',
@@ -85,7 +85,7 @@ class LicenePlateExtractor extends RegexExtractor {
8585
}
8686
}
8787

88-
module.exports = LicenePlateExtractor
88+
module.exports = LicensePlateExtractor
8989
```
9090

9191
As you can see, creating a new RegexExtractor is very easy. You just need to specify a `dimension` that is going to be used in your dialog and the regex you want to match to extract your entities.

0 commit comments

Comments
 (0)