Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
eSSIF-Lab framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
9
Issues
9
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ESSIF-Lab
eSSIF-Lab framework
Commits
05577c17
Commit
05577c17
authored
Oct 25, 2020
by
Rieks Joosten
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
maintenance script seems to work ok (at least on architecture document)
parent
f9c6a6cb
Pipeline
#16886
passed with stage
in 1 minute and 30 seconds
Changes
2
Pipelines
1
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
11 deletions
+11
-11
docs/functional-architecture.md
docs/functional-architecture.md
+6
-6
docs/terminology-maintenance-script.rieks
docs/terminology-maintenance-script.rieks
+5
-5
No files found.
docs/functional-architecture.md
View file @
05577c17
This diff is collapsed.
Click to expand it.
docs/terminology-maintenance-script.rieks
View file @
05577c17
...
...
@@ -39,8 +39,8 @@ replace-regex "[‘’]"
with "'"
// We might want to 'undo' %%...|...%% markers in case some 'show text' needs to be associated wiht another 'reftext'
// replace-regex "(
\W%)%([^\|\n\r]+)\|[^%\n\r]+%(%
\W)"
// with "
$1$2$3
"
// replace-regex "(
?<=\W)%%([^\|\n\r]+)\|[^%\n\r]+%%(?=
\W)"
// with "
%$1%
"
// First, convert %show text% into %%show text%%
// Test set: none may match: %verif%er, %verif"ier%, "%verifier%", `%verifier%`
...
...
@@ -56,8 +56,8 @@ replace-regex "(?<=(?:\s\(?'?|/)%)((\w+((/|-|’|')\w)?)+)(?='?\)?[:;,.!?]*(\[[^
with "%$1%%"
// Then, we can expand %%show text%% into %%show text|show text%%
replace-regex "(?<=\W
%%)([^\|]*?)(?=%%
\W)"
with "
$1|$1
"
replace-regex "(?<=\W
)%%([^\|]*?)%%(?=
\W)"
with "
%%$1|$1%%
"
// Next, we convert the latter part into lowercase
replace-regex "(?<=\|)([^A-Z%]*?[A-Z].*?)(?=%%)"
...
...
@@ -151,7 +151,7 @@ with "$1policy"
// For 'rights', see [D]uties
replace-regex "%{mid}(risk|scope-file|scope|ssi-agent)%{ss}%{end}"
with "$1"
replace-regex "%{mid}(statement|claim)%{ss}%{end}"
replace-regex "%{mid}(statement|claim
|statement%{ss}/claim
)%{ss}%{end}"
with "assertion"
// [T]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment