File tree 4 files changed +9
-7
lines changed
4 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ Core Grammars:
13
13
- fix(ex) adds support for ` ?' ` char literal and missing ` defguardp ` keyword [ Kevin Bloch] [ ]
14
14
- fix(diff) fix unified diff hunk header regex to allow unpaired numbers [ Chris Wilson] [ ]
15
15
- enh(php) support single line and hash comments in attributes, constructor and functions [ Antoine Musso] [ ]
16
+ - enh(shell) match period (.) as part of shell prompt [ Ian Wienand] [ ]
16
17
17
18
CONTRIBUTORS
18
19
@@ -23,6 +24,7 @@ CONTRIBUTORS
23
24
[ Chris Wilson ] : https://github.com/sushicw
24
25
[ Antoine Musso ] : https://github.com/hashar
25
26
[ Chester Moses ] : https://github.com/Chester-Moses-HCL
27
+ [ Ian Wienand ] : https://github.com/ianw
26
28
27
29
28
30
## Version 11.11.1
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ export default function(hljs) {
20
20
// We cannot add \s (spaces) in the regular expression otherwise it will be too broad and produce unexpected result.
21
21
// For instance, in the following example, it would match "echo /path/to/home >" as a prompt:
22
22
// echo /path/to/home > t.exe
23
- begin : / ^ \s { 0 , 3 } [ / ~ \w \d [ \] ( ) @ - ] * [ > % $ # ] [ ] ? / ,
23
+ begin : / ^ \s { 0 , 3 } [ . / ~ \w \d [ \] ( ) @ - ] * [ > % $ # ] [ ] ? / ,
24
24
starts : {
25
25
end : / [ ^ \\ ] (? = \s * $ ) / ,
26
26
subLanguage : 'bash'
Original file line number Diff line number Diff line change 1
- <span class="hljs-meta prompt_">pao-sw- a04-40(config)# </span><span class="language-bash">interface range ethernet 1/1/1-1/1/9</span>
2
- <span class="hljs-meta prompt_">pao-sw- a04-42(conf-range-eth1/1/1-1/1/9)# </span><span class="language-bash">switchport trunk allowed vlan 1102</span>
3
- <span class="hljs-meta prompt_">pao-sw- a04-42(conf-range-eth1/1/1-1/1/9)# </span><span class="language-bash">show configuration</span>
1
+ <span class="hljs-meta prompt_">pao.sw. a04-40(config)# </span><span class="language-bash">interface range ethernet 1/1/1-1/1/9</span>
2
+ <span class="hljs-meta prompt_">pao.sw. a04-42(conf-range-eth1/1/1-1/1/9)# </span><span class="language-bash">switchport trunk allowed vlan 1102</span>
3
+ <span class="hljs-meta prompt_">pao.sw. a04-42(conf-range-eth1/1/1-1/1/9)# </span><span class="language-bash">show configuration</span>
4
4
!
5
5
interface ethernet1/1/1
6
6
description pao-sw-a03-09_port56
Original file line number Diff line number Diff line change 1
- pao-sw- a04-40(config)# interface range ethernet 1/1/1-1/1/9
2
- pao-sw- a04-42(conf-range-eth1/1/1-1/1/9)# switchport trunk allowed vlan 1102
3
- pao-sw- a04-42(conf-range-eth1/1/1-1/1/9)# show configuration
1
+ pao.sw. a04-40(config)# interface range ethernet 1/1/1-1/1/9
2
+ pao.sw. a04-42(conf-range-eth1/1/1-1/1/9)# switchport trunk allowed vlan 1102
3
+ pao.sw. a04-42(conf-range-eth1/1/1-1/1/9)# show configuration
4
4
!
5
5
interface ethernet1/1/1
6
6
description pao-sw-a03-09_port56
You can’t perform that action at this time.
0 commit comments