回答編集履歴

1

インデント修正

2019/09/30 17:00

投稿

cat_tattu
cat_tattu

スコア5

test CHANGED
@@ -40,49 +40,49 @@
40
40
 
41
41
  if ($buff =~ /Query\s+(\d+)\s+([a-zA-Z-]+)\s+(\d+)/) {
42
42
 
43
- $str_len -= length($2);
43
+ $str_len -= length($2);
44
44
 
45
- if (!@query_pos && ($str_len != 0)) {
45
+ if (!@query_pos && ($str_len != 0)) {
46
46
 
47
- push(@query_pos, $1, $3);
47
+ push(@query_pos, $1, $3);
48
48
 
49
- print_seqinfo();
49
+ print_seqinfo();
50
50
 
51
- undef(@query_pos);
51
+ undef(@query_pos);
52
52
 
53
- $str_len = 60;
53
+ $str_len = 60;
54
54
 
55
- }
55
+ }
56
56
 
57
- elsif (!@query_pos) {
57
+ elsif (!@query_pos) {
58
58
 
59
- push(@query_pos, $1);
59
+ push(@query_pos, $1);
60
60
 
61
- }
61
+ }
62
62
 
63
- if (@query_pos) {
63
+ if (@query_pos) {
64
64
 
65
- if ($str_len == 0) {
65
+ if ($str_len == 0) {
66
66
 
67
- $str_len = 60;
67
+ $str_len = 60;
68
68
 
69
- next;
69
+ next;
70
70
 
71
- }
71
+ }
72
72
 
73
- elsif ($str_len != 0) {
73
+ elsif ($str_len != 0) {
74
74
 
75
- push(@query_pos, $3);
75
+ push(@query_pos, $3);
76
76
 
77
- print_seqinfo();
77
+ print_seqinfo();
78
78
 
79
- undef(@query_pos);
79
+ undef(@query_pos);
80
80
 
81
- }
81
+ $str_len = 60;
82
82
 
83
- $str_len = 60;
83
+ }
84
84
 
85
- }
85
+ }
86
86
 
87
87
  }
88
88