Skip to content

Commit

Permalink
Version 1.0.1: Security fixes
Browse files Browse the repository at this point in the history
Security fixes. No funtional changes.

Signed-off-by: Kjeldgaard <[email protected]>
  • Loading branch information
Kjeldgaard committed Apr 7, 2021
1 parent b7c1ad3 commit 7017e1d
Show file tree
Hide file tree
Showing 5 changed files with 206 additions and 84 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Change Log
#### Version 1.0.1
- Security fixes. No functional changes.

#### Version 1.0.0
- [Feature] Possibility to leave match out of the generated URL.

Expand Down
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@ This is the README for the Visual Studio Code extension named "Regex Show Go".
When hovering a line in Visual Studio Code, the line is matched against one or several regex patterns. If a match is found, a hover box is shown with a link which is created from a match-prefix and the actual match and a match-postfix. See Extension Settings section for configuration.

## Extension Settings
To use the extension, you must configure a regex match pattern, match prefix, and match postfix. Note, for backward compatibility, if "search_at" is not defined, the default value is "false".
To use the extension, you must configure a regex match pattern, match prefix, and match postfix. Note, for backward compatibility, if "search_at" is not defined, the default value is "false".

Configuration example:
```
"regex_show_go.config.match": [
{
"match_pattern": "TEST[0-9-]+",
"prefix": "https://www.google.com/search?q="
"postfix": "-test"
"prefix": "https://www.google.com/search?q=",
"postfix": "-test",
"search_at": false
},
{
"match_pattern": "WIKI",
Expand All @@ -29,6 +30,9 @@ Example 2:
Hovering a line containing the text "WIKI#test#", will generate the following link "https://en.wikipedia.org/wiki/test". Note, "match_pattern" is not included in the generated URL.

## Release Notes
#### Version 1.0.1
- Security fixes. No functional changes.

#### Version 1.0.0
- [Feature] Possibility to leave match out of the generated URL. See the section "Extension Settings".

Expand Down
Loading

0 comments on commit 7017e1d

Please sign in to comment.