Developer FAQ: Difference between revisions

85 bytes removed ,  10 May 2016
finding source: no need for regular expression, and shouldn't have ^
(Finding source for a given function)
 
(finding source: no need for regular expression, and shouldn't have ^)
Line 4: Line 4:
  octave:1> which addpath
  octave:1> which addpath
  'addpath' is a built-in function from the file libinterp/corefcn/load-path.cc
  'addpath' is a built-in function from the file libinterp/corefcn/load-path.cc
While editing the file, the function definition usually matches a regular expression like
While editing the file, the function definition can be found by searching for something like
  ^(addpath,
  (addpath,
(The '(' may need to be escaped, depending on the flavour of regular expression used.)
122

edits