Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

15
LINES

< > BotCompany Repo | #1001134 // Find supported questions in an android's source code

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (345L/3K/10K).

1  
!747
2  
3  
m {
4  
  static S snippetID = "#1001133";
5  
  
6  
  p {
7  
    L<S> tok = javaTok(loadSnippet(snippetID));
8  
    for (int i = 1; i+4 < tok.size(); i += 2) {
9  
      if (tok.get(i).equals("match3") && tok.get(i+2).equals("(")
10  
        && isQuoted(tok.get(i+4))) {
11  
        print("Question found: " + tok.get(i+4));
12  
      }
13  
    }
14  
  }
15  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1001134
Snippet name: Find supported questions in an android's source code
Eternal ID of this version: #1001134/1
Text MD5: 2a11da1aa4075a7c9215c6d0053ae06e
Transpilation MD5: 8132561060f5a3b71cb6bdd013ac2f6a
Author: stefan
Category: androids
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-09-23 21:06:35
Source code size: 336 bytes / 15 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 670 / 743
Referenced in: [show references]