Skip to content

Commit

Permalink
1. Removed XML_LANG from the Windows Sandbox wordfile
Browse files Browse the repository at this point in the history
2. Removed all STYLE_* declarations
3. Corrected omitted delimiters from hosts wordfile
4. Added /Regexp Type = Perl to hosts file
  • Loading branch information
stymiee committed Apr 15, 2020
1 parent dd4c34a commit 49f77ac
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions WindowsSandbox.uew
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
/L6"Windows Sandbox Configuration File" XML_LANG Noquote Block Comment On = <!-- Block Comment Off = --> File Extensions = WSB
/L20"Windows Sandbox Configuration File" Noquote Block Comment On = <!-- Block Comment Off = --> File Extensions = WSB
/Open Brace Strings = "<"
/Close Brace Strings = ">"
/C1"Elements" STYLE_ELEMENT
/C1"Elements"
<Command> </Command> <Configuration> </Configuration>
<HostFolder> </HostFolder>
<LogonCommand> </LogonCommand>
<MappedFolder> </MappedFolder> <MappedFolders> </MappedFolders>
<Networking> </Networking>
<ReadOnly> </ReadOnly>
<VGpu> </VGpu>
/C2"Built-in Constants" STYLE_KEYWORD
/C2"Built-in Constants"
Disable
Enable
false
Expand Down
7 changes: 4 additions & 3 deletions hosts.uew
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
/L20"Windows Hosts File" Nocase Line Comment = # File Names = hosts
/Regexp Type = Perl
/TGBegin "IP Addresses"
/TGFindStr = "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\s+"
/TGEnd
/Delimiters =
/C1"Hosts" STYLE_KEYWORD
/Delimiters = |
/C1"Hosts"
broadcasthost
local localhost
/C3"Default IP Addresses" STYLE_ELEMENT
/C3"Default IP Addresses"
::1
0.0.0.0
127.0.0.1
Expand Down

0 comments on commit 49f77ac

Please sign in to comment.