Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions config/robotframework_aio/release_items_JsonPreprocessor.json
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,9 @@

The ``keyPattern`` is not set when initialized ``CJsonPreprocessor``, the naming convention check is not acitve.

| ``json_preprocessor = CJsonPreprocessor(keyPattern=r'^[\p{L}][\p{L}0-9]*$')``
| ``json_preprocessor = CJsonPreprocessor(keyPattern=r'^[\\p{L}][\\p{L}0-9]*$')``

The ``keyPattern`` is set ``'^[\p{L}][\p{L}0-9]*$'`` means key names in the JONP file have to start with characters and following by characters or numbers.
The ``keyPattern`` is set ``'^[\\p{L}][\\p{L}0-9]*$'`` means key names in the JONP file have to start with characters and following by characters or numbers.

* Replaced ``re`` package by ``regex`` package to handle regular expression.

Expand Down
Loading