Updated regex to accept bisq-addresses.
This commit is contained in:
		
							parent
							
								
									c1a79e3a33
								
							
						
					
					
						commit
						4442964124
					
				@ -23,7 +23,7 @@ export class SearchFormComponent implements OnInit {
 | 
			
		||||
  searchForm: FormGroup;
 | 
			
		||||
  @Output() searchTriggered = new EventEmitter();
 | 
			
		||||
 | 
			
		||||
  regexAddress = /^([a-km-zA-HJ-NP-Z1-9]{26,35}|[a-km-zA-HJ-NP-Z1-9]{80}|[a-z]{2,5}1[ac-hj-np-z02-9]{8,87})$/;
 | 
			
		||||
  regexAddress = /^([a-km-zA-HJ-NP-Z1-9]{26,35}|[a-km-zA-HJ-NP-Z1-9]{80}|[bB]?[a-z]{2,5}1[ac-hj-np-z02-9]{8,87})$/;
 | 
			
		||||
  regexBlockhash = /^[0]{8}[a-fA-F0-9]{56}$/;
 | 
			
		||||
  regexTransaction = /^[a-fA-F0-9]{64}$/;
 | 
			
		||||
  regexBlockheight = /^[0-9]+$/;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user