Skip to content

Commit

Permalink
Try publis notam decoder 3 (#31)
Browse files Browse the repository at this point in the history
* chore($notam-decoder): release version 0.0.1 skip-checks:true [skip ci]

* chore($notam-decoder): release version 0.0.1 skip-checks:true [skip ci]

* fix: some documentation
  • Loading branch information
georgeenciu authored Oct 15, 2023
1 parent 2584e1c commit 465b26a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 4 additions & 0 deletions packages/notam-decoder/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).

## 0.0.1 (2023-10-15)

## 0.0.1 (2023-10-15)

## 0.0.1 (2023-10-15)
12 changes: 4 additions & 8 deletions packages/notam-decoder/README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
# notam-decoder
# NOTAM DECODER

This library was generated with [Nx](https://nx.dev).
This is a general purpose NOTAM Decoder.

## Building
## Usage

Run `nx build notam-decoder` to build the library.

## Running unit tests

Run `nx test notam-decoder` to execute the unit tests via [Jest](https://jestjs.io).
TBA
2 changes: 1 addition & 1 deletion packages/notam-decoder/src/reducers/e-line.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const reducer = (notam: DecodedNotam, line: string): DecodedNotam => {
const splitted = extracted.split(' ');

// To match punctuation at the end of a word
const punctuationRegex = /([.,;:!?\-]+)$/;
const punctuationRegex = /([.,;:!?-]+)$/;

for (const word of splitted) {
// Check if there's punctuation at the end of the word
Expand Down

0 comments on commit 465b26a

Please sign in to comment.