File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -229,7 +229,9 @@ <h1 class="modal-title fs-5" id="debugger-modal-title">Regex Debugger</h1>
229
229
</ p >
230
230
231
231
< div class ="my-1 " style ="font-weight: 600; "> Match Step < span id ="debugger-match-step "> </ span > </ div >
232
- < div id ="debugger-regex " class ="border mb-3 ">
232
+ < div class ="mb-3 ">
233
+ < input id ="debugger-regex " type ="text " class ="form-control form-control-sm border shadow-none "
234
+ style ="border-radius: 0; " readonly >
233
235
</ div >
234
236
235
237
< div class ="border my-3 ">
Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ export class App {
207
207
matchStep . textContent = "1" ;
208
208
209
209
const debuggerPattern = document . getElementById ( "debugger-regex" ) ;
210
- debuggerPattern . textContent = expression ;
210
+ debuggerPattern . value = expression ;
211
211
212
212
this . debuggerText . value = text ;
213
213
@@ -302,7 +302,7 @@ export class App {
302
302
const method = "debug" ;
303
303
const params = {
304
304
method,
305
- pattern : document . getElementById ( "debugger-regex" ) . textContent ,
305
+ pattern : document . getElementById ( "debugger-regex" ) . value ,
306
306
text : this . debuggerText . value ,
307
307
matchOptions : this . matchOptions . value ,
308
308
step : document . getElementById ( "debugger-step-range" ) . value ,
You can’t perform that action at this time.
0 commit comments