File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed 
src/server/code-parse/language Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11const  {  setupGetCrumbs,  setupGetCommentsFromCode }  =  require ( '../default/codecrumbs' ) ; 
22
3- const  PERL_COMMENT_REGEX  =  / ^ ( [ ^ # ] * ) # ( .* ) $ / ; 
3+ const  PERL_COMMENT_REGEX  =  / ^ ( [ ^ # ] * ) # ( .* ) $ / g ; 
44const  getCrumbs  =  setupGetCrumbs ( setupGetCommentsFromCode ( PERL_COMMENT_REGEX ) ) ; 
55
66// replace with own implementation if needed 
Original file line number Diff line number Diff line change 11const  {  setupGetCrumbs,  setupGetCommentsFromCode }  =  require ( '../default/codecrumbs' ) ; 
22
3- const  PYTHON_COMMENT_REGEX  =  / ^ ( [ ^ # ] * ) # ( .* ) $ / ; 
3+ const  PYTHON_COMMENT_REGEX  =  / ^ ( [ ^ # ] * ) # ( .* ) $ / g ; 
44const  getCrumbs  =  setupGetCrumbs ( setupGetCommentsFromCode ( PYTHON_COMMENT_REGEX ) ) ; 
55
66// replace with own implementation if needed 
Original file line number Diff line number Diff line change 11const  {  setupGetCrumbs,  setupGetCommentsFromCode }  =  require ( '../default/codecrumbs' ) ; 
22
3- const  RUBY_COMMENT_REGEX  =  / ^ ( [ ^ # ] * ) # ( .* ) $ / ; 
3+ const  RUBY_COMMENT_REGEX  =  / ^ ( [ ^ # ] * ) # ( .* ) $ / g ; 
44const  getCrumbs  =  setupGetCrumbs ( setupGetCommentsFromCode ( RUBY_COMMENT_REGEX ) ) ; 
55
66// replace with own implementation if needed 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments