| 121 | | * {{{ri:fb_regexp([{type, draw}, {dot, test.dot}]).}}} |
| 122 | | * {{{ri:fb_regexp([{type, list}, {regexp, "regexp"}]).}}} |
| 123 | | * {{{ri:fb_regexp([{type, list}, {regexp, "^/home/[a-z./]+"}]).}}} |
| | 121 | {{{#!erlang |
| | 122 | ri:fb_regexp([{type, draw}, {dot, test.dot}]). |
| | 123 | }}} |
| | 124 | {{{#!erlang |
| | 125 | ri:fb_regexp([{type, list}, {regexp, "regexp"}]). |
| | 126 | }}} |
| | 127 | {{{#!erlang |
| | 128 | ri:fb_regexp([{type, list}, {regexp, "^/home/[a-z./]+"}]). |
| | 129 | }}} |
| 135 | | {{{ ri:fb_regexp([{type, list}, {regexp, ["/usr/[a-zA-Z./]*/.*_syntax.erl"]}]).}}} |
| | 141 | {{{#!erlang |
| | 142 | (refactorerl@localhost)2> ri:fb_regexp([{type, list}, {regexp, ["/usr/[a-zA-Z./]*/.*_syntax.*.erl"]}]). |
| | 143 | Matched modules: [{"/usr/[a-zA-Z./]*/.*_syntax.*.erl", |
| | 144 | [erl_syntax,erl_syntax_lib]}] |
| | 145 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| | 146 | [{"/usr/[a-zA-Z./]*/.*_syntax.*.erl", |
| | 147 | [{'$gn',module,7},{'$gn',module,23}]}] |
| | 148 | }}} |
| | 149 | |
| | 150 | {{{#!erlang |
| | 151 | (refactorerl@localhost)59> ri:fb_regexp([{type, check_cycle}, {regexp, ["/usr/[a-zA-Z./]*/.*_syntax.*.erl", "/home/[a-zA-Z./]*/cycles"]}]). |
| | 152 | Matched modules: [{"/usr/[a-zA-Z./]*/.*_syntax.*.erl", |
| | 153 | [{'$gn',module,7},{'$gn',module,23}]}, |
| | 154 | {"/home/[a-zA-Z./]*/cycles", |
| | 155 | [{'$gn',module,44}, |
| | 156 | {'$gn',module,43}, |
| | 157 | {'$gn',module,39}, |
| | 158 | {'$gn',module,40}]}] |
| | 159 | |
| | 160 | Earlier results deleted (except .dot files and otp table). |
| | 161 | Building "fb_rel" table... |
| | 162 | |
| | 163 | [["/usr/local/lib/erlang/lib/syntax_tools-1.6.7.1/src", |
| | 164 | "/usr/local/lib/erlang/lib/syntax_tools-1.6.7.1/src"], |
| | 165 | ["/home/kinga/RefactorErl/test/cyclic/cycles", |
| | 166 | "/home/kinga/RefactorErl/test/cyclic/cycles"]] |
| | 167 | }}} |
| | 168 | |