node/lib/metasm/metasm/gui/dasm_hex.rb
def prompt_search_ascii
		inputbox('data pattern to search (regexp)') { |pat|
			list = [['addr']] + @dasm.pattern_scan(/#{pat}/).map { |a| [Expression[a]] }
			listwindow("data search #{pat}", list) { |i| @parent_widget.focus_addr i[0] }
		}
	end
# pop a dialog, scans the sections for a regex
pop a dialog, scans the sections for a regex
pop a dialog scans the sections for a regex
def prompt_search_ascii
		inputbox('data pattern to search (regexp)') { |pat|
			list = [['addr']] + @dasm.pattern_scan(/#{pat}/).map { |a| [Expression[a]] }
			listwindow("data search #{pat}", list) { |i| @parent_widget.focus_addr i[0] }
		}
	end
def prompt_search_ascii inputbox ( 'data pattern to search (regexp)' ) { | pat | list = [ [ 'addr' ] ] + @dasm . pattern_scan ( / #{ pat } / ) . map { | a | [ Expression [ a ] ] } listwindow ( "data search #{pat}" , list ) { | i | @parent_widget . focus_addr i [ 0 ] } } end
pop a dialog, scans the sections for a regex
pop a dialog scans the sections for a regex