Questions tagged [block-comments]

A syntax element that allows multiple lines of text to be used as comments, (that is, ignored by the compiler), without having to mark each and every line separately as a comment.

35 questions
0
votes
1 answer

Regex to perform global match on javascript block comments

Note, the goal here is not lexical analysis so please do not suggest lexing or parsing code. And, my apology for adding to the mess of "regex comments" questions but the best (most voted) bad answer (given the context of how the result would be…
Nolo
  • 846
  • 9
  • 19
0
votes
1 answer

BDD Specflow - Scenario Outline where text spans multiple lines

I'm quote new to both BDD and C#, and I've had some success with basic features and step defs. I'm now trying to write a step def where it asserts some text on a webpage. The problem is, the text spans multiple lines when its displayed, and its HTML…
Chris
  • 598
  • 8
  • 23
0
votes
1 answer

How do I change Netbeans PHP elseif auto formatting

Using PHP plugin v1.47.1 for NetBeans IDE 7.3 RC2. I like to comment my if's and elseifs as follows: /* * If this is the case, then do that. */ if (*condition1*) { // do some stuff. } /* * Otherwise, if this is the case, do the other thing. …
0
votes
1 answer

Ruby block comment and profile questions

I have written a Ruby version of Erik Demaine's (MIT) docdist8.py. This is available on github as docdist-v3.rb. I faced two weird kind of situations: 1) In the function inner_product there is a block comment: Inner product between two vectors,…
user1575148
  • 561
  • 6
  • 28
0
votes
3 answers

how to count the loc without block comments?

I am trying to get the number of lines of code from a java file. But I am having trouble counting them. First I tried to skip them with ifs, but my idea does not work. Now I am counting the same lines with comments, my Java file has this header. Any…
bentham
  • 1,701
  • 3
  • 20
  • 32
1 2
3