Advertisement
Guest User

Untitled

a guest
Jul 26th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. 1) sequence_history/buckets/FPJ.INV_DOM_16_PRD.47269.2644?startid=2644000&endid=2644666
  2.  
  3. 2) sequence_history/buckets/FPJ.INV_DOM_16_PRD.41987.9616
  4.  
  5. my $string='/sequence_history/buckets/FPJ.INV_DOM_16_PRD.47269.2644?startid=2644000&endid=2644666';
  6.  
  7. if ($string =~ /sequence_history/buckets/(.*)/){
  8. my $line = $1;
  9. print "$linen";
  10. if($line =~ /(FPJ.*PRD).(d*)./){
  11. my $topic_type_string = $1;
  12. my $topic_id = $2;
  13. print "$1n$2n";
  14.  
  15. }
  16. if($string =~ /(?(?=endid=)d*$)/){
  17. # how to print match pattern here?
  18. print "matchn";
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement